10.05.2010, 15:10
I have a error on my script..
i have this script:
when i compile, I get this error.
How to fix it?
i have this script:
pawn Код:
public AnnounceEvent()
{
if(EventPlayers > 1)
{
if (PlayerInfo[playerid][pLing] == 1)
{
KillTimer(aeventtimer);
SendClientMessageToAll(COLOR_YELLOW, "The Event will start in 20 seconds, to join type /joinevent.");
SetTimer("EventStarted", 20000, 0);
}
else
{
KillTimer(aeventtimer);
SendClientMessageToAll(COLOR_YELLOW, "L'evento inzia tra 20 secondi, per partecipare, digita /joinevent.");
SetTimer("EventStarted", 20000, 0);
}
}
return 1;
}
pawn Код:
D:\Users\Administrator\Desktop\samp\GM's\DM's\Jebyz Gang Wars\gamemodes\gangwars.pwn(5157) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.