Quote:
Originally Posted by Whatname
PHP код:
new OldMoney[MAX_PLAYERS];
CMD:reset(playerid, params[])
{
//code
OldMoney[playerid] = GetPlayerMoney(playerid);
ResetPlayerMoney(playerid);
return 1;
}
CMD:giveback(playerid, params[])
{
GivePlayerMoney(playerid, OldMoney[playerid]);
return 1;
}
|
Worked like a charm! Thanks
Whatname