[Ajuda] Forward !
#1

Pessoal me ajuda aqui, como eu defino essa forward ?

ERRO:
PHP код:
C:\Users\Erickson\Desktop\brvgm.pwn(24665) : warning 235: public function lacks forward declaration (symbol "Chatc"
LINHA:
PHP код:
public Chatc(COLOR,const string[],level,playerid)
{
for(new 
0MAX_PLAYERSi++)
{
if(
IsPlayerConnected(i))
{
new 
aname[MAX_PLAYER_NAME];
new 
pname[MAX_PLAYER_NAME];
GetPlayerName(playeridanameMAX_PLAYER_NAME);
format(filesizeof(file), PASTA_CONTASaname);
GetPlayerName(ipnameMAX_PLAYER_NAME);
format(file2sizeof(file2), PASTA_CONTASpname);
if(
dini_Int(file"SClan") == && dini_Int(file2"SClan") == 1){
if(
dini_Int(file"Clan") == dini_Int(file2"Clan")){
SendClientMessage(iCOLORstring);
}
}
}
}
return 
1;

Reply
#2

pawn Код:
forward Chatc(COLOR,const string[],level,playerid);
Simplesmente mudando a keyword e adicionando ponto e vнrgula no final.
Reply
#3

Vlw mano, funcionou !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)