GivePlayerMoney(playerid, PlayerInfo[playerid][pNovac]); Problem
#2

That becoz u Gave money 2 times by 2 ways.
He have no money then u used first line to set PlayerInfo[playerid][pNovac] to 100$ then again GivePlayerMoney PlayerInfo[playerid][pNovac]


Make it just
Код:
new money;
GetPlayerMoney(playerid, money);
ResetPlayerMoney(playerid);
SetPlayerMoney(playerid, money+ 100); //replce 100 to how much money will u give
return 1;
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)