29.05.2010, 08:41
Here I show you how to do a "setplayermoney" if you do not want to include "dutils";
You add this anywhere, but in not any public or stocks.
Credits: DracoBlue for the code.
pawn Код:
new moneyfirst[MAX_PLAYERS];
stock SetPlayerMoney(playerid,moneyafter) {
moneyfirst[playerid]=moneyafter;
GivePlayerMoney(playerid,moneyafter-GetPlayerMoney(playerid));
}
Credits: DracoBlue for the code.