08.05.2012, 17:44
Eu deixei o jeito que voce mandou mais ta dando uns erros...
Deixei assim
E da os seguintes erros:
Deixei assim
PHP код:
public ABroadCast(COR_RED,const string[],level)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if (PlayerInfo[i][pAdmin] >= 1)
{
SendClientMessage(i, COR_RED, string);
printf("%s", string);
}
}
}
return 1;
}
PHP код:
C:\Users\Twulin\Desktop\Serve\pawno\R0beit.pwn(4) : warning: 235: public function lacks forward declaration (symbol "ABroadCast")
C:\Users\Twulin\Desktop\Serve\pawno\R0beit.pwn(4) : error: 010: invalid function or declaration
C:\Users\Twulin\Desktop\Serve\pawno\R0beit.pwn(10) : error: 017: undefined symbol "PlayerInfo"
C:\Users\Twulin\Desktop\Serve\pawno\R0beit.pwn(10) : warning: 215: expression has no effect
C:\Users\Twulin\Desktop\Serve\pawno\R0beit.pwn(10) : error: 001: expected token: ";", but found "]"