06.10.2011, 07:46
Title says it all, Please can someone help me fix this..I'll be very appreciative, Thank you.
Code
pawn Код:
CMD:sendmessagetcops(playerid, params[])
{
for(new i=0; i <= MAX_PLAYERS; i++);
{
if(IsPlayerConnected(i))
{
if(pTeam[i] == TEAM_LSPD)
{
SendClientMessage(i, COLOR_BLUE, "A Message was sent to all online officers online");
}
}
}
}
ERRORS
Код:
C:\Users\Parent\Desktop\Server\gamemodes\newtdm.pwn(246) : warning 215: expression has no effect C:\Users\Parent\Desktop\Server\gamemodes\newtdm.pwn(266) : error 036: empty statement C:\Users\Parent\Desktop\Server\gamemodes\newtdm.pwn(268) : error 017: undefined symbol "i" C:\Users\Parent\Desktop\Server\gamemodes\newtdm.pwn(270) : error 017: undefined symbol "i" C:\Users\Parent\Desktop\Server\gamemodes\newtdm.pwn(272) : error 017: undefined symbol "i" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.