18.08.2012, 00:16
entгo pessoal eu estava fazendo uma publica para usar no meu /190 atй ai bls,dai na hora que eu criei a public deu esse erro
Code :
Erro :
ajudando ai do +,se nгo conseguir nгo tem problema :/
Code :
pawn Код:
public ABroadCastPolicia(COLOR,const string[],level)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsACop[i])
{
SendClientMessage(i, COLOR, string);
printf("%s", string);
}
}
}
return true;
}
pawn Код:
C:\Users\Famнlia\Desktop\ghogo\gamemodes\BUL.pwn(14239) : error 028: invalid subscript (not an array or too many subscripts): "IsACop"
C:\Users\Famнlia\Desktop\ghogo\gamemodes\BUL.pwn(14239) : warning 215: expression has no effect
C:\Users\Famнlia\Desktop\ghogo\gamemodes\BUL.pwn(14239) : error 001: expected token: ";", but found "]"
C:\Users\Famнlia\Desktop\ghogo\gamemodes\BUL.pwn(14239) : error 029: invalid expression, assumed zero
C:\Users\Famнlia\Desktop\ghogo\gamemodes\BUL.pwn(14239) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.