10.01.2015, 14:50
You shouldn't define the GivePlayerCash, that's the same as using GivePlayerMoney and obviously will count you as a cheater because you aren't changing the variable amount of money.
You should paste this stock:
And then use GivePlayerCash(playerid, 100); (for example) for giving playerid 100 of money. Hope you understand
You should paste this stock:
pawn Код:
stock GivePlayerCash(playerid, money)
{
Cash[playerid] += money;
ResetMoneyBar(playerid);//Resets the money in the original moneybar, Do not remove!
UpdateMoneyBar(playerid,Cash[playerid]);//Sets the money in the moneybar to the serverside cash, Do not remove!
return Cash[playerid];
}