11.12.2013, 20:12
Pessoal me ajuda aqui, como eu defino essa forward ?
ERRO:
LINHA:
ERRO:
PHP код:
C:\Users\Erickson\Desktop\brvgm.pwn(24665) : warning 235: public function lacks forward declaration (symbol "Chatc")
PHP код:
public Chatc(COLOR,const string[],level,playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new aname[MAX_PLAYER_NAME];
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
GetPlayerName(i, pname, MAX_PLAYER_NAME);
format(file2, sizeof(file2), PASTA_CONTAS, pname);
if(dini_Int(file, "SClan") == 1 && dini_Int(file2, "SClan") == 1){
if(dini_Int(file, "Clan") == dini_Int(file2, "Clan")){
SendClientMessage(i, COLOR, string);
}
}
}
}
return 1;
}