08.06.2012, 20:34
pawn Код:
new Banco[MAX_PLAYERS];
CMD:depositar(playerid,params[])
{
new Bstring[128];
if(!srtlen(params)) return SendClientMessage(playerid,-1,"/depositar [quantia]");
format(Bstring,sizeof(Bstring),"Vocк depositou %d em sua conta!",params);
SendClientMessage(playerid,-1,Bstring);
GivePlayerMoney(playerid,-params);
Banco[playerid] += params;
return 1;
}