[HOWTO] SetPlayerMoney function
#2

Quote:
Originally Posted by Biscottinis
Here I show you how to do a "setplayermoney" if you do not want to include "dutils";

pawn Код:
new moneyfirst[MAX_PLAYERS];
stock SetPlayerMoney(playerid,moneyafter) {
 moneyfirst[playerid]=moneyafter;
 GivePlayerMoney(playerid,moneyafter-GetPlayerMoney(playerid));
}
You add this anywhere, but in not any public or stocks.

Credits: DracoBlue for the code.
Why are you putting it here, if you didnt make it....
Reply


Messages In This Thread
[HOWTO] SetPlayerMoney function - by Biscottinis - 29.05.2010, 08:41
Re: [HOWTO] SetPlayerMoney function - by playbox12 - 29.05.2010, 09:03
Re: [HOWTO] SetPlayerMoney function - by Think - 29.05.2010, 09:07
Re: [HOWTO] SetPlayerMoney function - by playbox12 - 29.05.2010, 10:43
Re: [HOWTO] SetPlayerMoney function - by NewTorran - 29.05.2010, 10:56

Forum Jump:


Users browsing this thread: 1 Guest(s)