30.05.2017, 15:18
Quote:
Make a function for SetPlayerMoney:
PHP код:
Then make the command with: targetid & amount. |
What I want is to do something like this:
Код:
cmd:dosomething(playerid) { command lines and stuff here... something to get and store the victim's ID current money here... ResetPlayerMoney(ID); return 1; } cmd:undosomething(playerid) { command lines and stuff here... something to give the stored money from the other command back to the victim's ID here... return 1; }