error compile
#1

i have this error

pawn Код:
D:\Users\Administrator\Desktop\Holliwood FIX\gamemodes\larp.pwn(11561) : error 017: undefined symbol "PLAYERS"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
at line i have this script:

pawn Код:
for(new i = 0; i < PLAYERS; i++)
complete script

pawn Код:
public SendWTMessage(channel, color, string[])
{
    for(new i = 0; i < PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
          if(PlayerInfo[i][pWTc] == channel)
          {
                SendClientMessage(i, color, string);
            }
        }
    }
}
Reply
#2

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
instead of

pawn Код:
for(new i = 0; i < PLAYERS; i++)
Reply
#3

thanks man now it work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)