So, i've been tinkering on this basic project, to expand my knowledge of coding, but i find it less and less intriguing, because i'm not sure where to go from here, that wouldn't get me way in over my head.
What i have so far here:
//Economy system
function serverCmdeconomymoney(%client)
{
%client.chatMessage("<color:ffffff><font:impact:20>Currently, the economy has <color:009900>$" @ $economymoney SPC "<color:ffffff>dollars on their bank account");
}
function servercmdrestarteconomy(%client)
{
$economymoney = "0";
messageAll('',"<color:ff0000><font:impact:20> The Economy has collapsed!");
}
function serverCmdDonate(%client,%amount)
{
if(%amount > %client.score)
{
%client.chatmessage("<font:impact:20><color:ffffff>You don't have that much to donate");
return;
}
%client.score-=%amount;
$economymoney+=%amount;
%client.chatmessage("<font:impact:20><color:ffffff>You have donated <color:009900>$" @ %amount SPC "<color:ffffff>to the economy!");
}
//Wallet money system using score
function serverCmdMakeMoney(%client)
{
%client.score+=5;
%client.chatmessage("<font:impact:20><color:ffffff>You have made 5 dollars, you now have <color:009900>$" @ %client.score SPC "<color:ffffff>on your bank account");
}
function serverCmdMyMoney(%client)
{
%client.chatmessage("<font:impact:20><color:ffffff>You have <color:009900>$" @ %client.score SPC "<color:ffffff>on your bank account");
}
Any ideas?