27.10.2013, 04:04
pawn Код:
forward AntiJetpack();
public AntiJetpack()
{
if(GetPlayerSpecialAction(playerid) == 2)
new k_msg[80], p_name[MAX_PLAYER_NAME];
GetPlayerName(playerid, p_name,sizeof (p_name));
format(k_msg,sizeof (k_msg),"%s has been kicked for jetpack cheat",p_name);
SCMA(RED, k_msg);
kick(playerid);
}
pawn Код:
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(358) : error 017: undefined symbol "playerid"
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(360) : error 003: declaration of a local variable must appear in a compound block
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(360) : error 017: undefined symbol "k_msg"
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(360) : warning 215: expression has no effect
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(360) : error 001: expected token: ";", but found "]"
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(360) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase