27.12.2012, 10:25
pawn Код:
public Detecthp()
{
for(new i = 0; i< MAX_PLAYERS; i++)
{
if(GetPlayerHealth(i) != PInfo[i][Health])
{
new str[128];
new LName[MAX_PLAYER_NAME];
GetPlayerName(playerid, LName, sizeof(LName));
format(str, sizeof(str), "%s has been banned from the server. (Reason:Health hack)", LName);
Kick(playerid);
}
}
return 1;
}
pawn Код:
C:\Users\carlo\Desktop\SA-MP Server\My Own Trucking\pawno\include\anti-cheat.inc(55) : warning 202: number of arguments does not match definition
C:\Users\carlo\Desktop\SA-MP Server\My Own Trucking\pawno\include\anti-cheat.inc(59) : error 017: undefined symbol "playerid"
C:\Users\carlo\Desktop\SA-MP Server\My Own Trucking\pawno\include\anti-cheat.inc(61) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
http://pastebin.com/hZ372zVr