Correct layout for a /pay command?
#2

Instead of doing this.
pawn Код:
GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
It would seem more logical to do.
pawn Код:
GivePlayerMoney(playerid, -amount);
Since you want to subtract what they are paying instead of their total money.
Reply


Messages In This Thread
Correct layout for a /pay command? - by Luis- - 27.02.2012, 21:35
Re: Correct layout for a /pay command? - by Walsh - 27.02.2012, 22:26

Forum Jump:


Users browsing this thread: 1 Guest(s)