Help! With anti money cheat.
#1

Hi this is my anti money cheat


pawn Код:
forward GivePlayerMoneyEx(playerid,ammount);
public GivePlayerMoneyEx(playerid,ammount)
{
     
      OldMoney[playerid] = GetPlayerMoney(playerid)
      NewMoney[playerid] = ammount; //The error seems to be over here <
      GivePlayerMoney(playerid,ammount);

      return 1;
}
This is the error Im getting.

pawn Код:
error 001: expected token: ";", but found "-identifier-"
Reply
#2

pawn Код:
OldMoney[playerid] = GetPlayerMoney(playerid);
You forgot ";" at the end
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)