what the wrong?
#1

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
Reply


Messages In This Thread
what the wrong? - by Another1 - 27.10.2013, 04:04
Respuesta: what the wrong? - by Cerealguy - 27.10.2013, 04:07
Re: what the wrong? - by PT - 27.10.2013, 04:21
Re: what the wrong? - by Another1 - 27.10.2013, 04:46
Re: what the wrong? - by Konstantinos - 27.10.2013, 10:28
Re: what the wrong? - by newbie scripter - 27.10.2013, 10:41
Re: what the wrong? - by Konstantinos - 27.10.2013, 11:10

Forum Jump:


Users browsing this thread: 1 Guest(s)