31.05.2014, 09:07
I want to make a /givemoney [playerid] [Ammount(dollar.cent)] command, realism money system and suport for this script:
Sorry for my bad english
Код:
stock GivePlayerCash(playerid, dollar, cent=0) { new dollars, mtotal; dollars = dollar*100; mtotal = dollars+cent; SetPVarInt(playerid, "Cash", GetPVarInt(playerid, "Cash")+mtotal); GivePlayerMoney(playerid, mtotal); return 1; }