help with my anti cheat
#3

You issues are here:
pawn Код:
forward OnPlayerDeath(playerid, killerid, reason);
public OnPlayerDeath(playerid, killerid, reason);
Because OnPlayerDeath is a native callback (meaning it already exists), you don't have to declare(forward) it. Also you have a misplaced semicolon (';') after this line
pawn Код:
public OnPlayerDeath(playerid, killerid, reason);//This semicolon should not exist
Reply


Messages In This Thread
help with my anti cheat - by peterRook - 18.04.2011, 16:15
Re: help with my anti cheat - by xir - 18.04.2011, 16:21
Re: help with my anti cheat - by Joe Staff - 18.04.2011, 16:32
Re: help with my anti cheat - by peterRook - 18.04.2011, 19:45
Re: help with my anti cheat - by xir - 18.04.2011, 19:49
Re: help with my anti cheat - by Stigg - 18.04.2011, 19:49
Re: help with my anti cheat - by peterRook - 18.04.2011, 20:13
Re: help with my anti cheat - by xir - 18.04.2011, 20:16
Re: help with my anti cheat - by peterRook - 18.04.2011, 20:19
Re: help with my anti cheat - by CrazyBlob - 18.04.2011, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)