03.05.2017, 13:16
Deu vбrias , warning 235: public function lacks forward declarati. tava olhando tem uma public chamada VerificadoPCPref, que e chamada em outra public, sу que a public VerificadoPCPref ta abaixo da que й chamada tem algum problema?
PHP код:
BalaoPCPref(playerid, avisobalao[], tempo){
if(PlayerInfo[playerid][pTimerBalao] != -1){
KillTimer(PlayerInfo[playerid][pTimerBalao]);
}
PlayerInfo[playerid][pTimerBalao] = SetTimerEx("UpdateBalaoPCPref", tempo, 0, "i", playerid);
PlayerTextDrawSetString(playerid, balaoAviso[playerid], avisobalao);
PlayerTextDrawShow(playerid, balaoAviso[playerid]);
return 0;
}
PLRP::UpdateBalaoPCPref(playerid)
{
if(PlayerInfo[playerid][pTimerBalao] != -1)
{
PlayerInfo[playerid][pTimerBalao] = -1;
}
CarregandoPCPref[playerid]++;
new _s[40], string[40];
_s[0] = EOS;
strcat(_s, "~y~Carregando:~n~~w~");
for(new ve = 0;ve < CarregandoPCPref[playerid]; ve++)
{
strcat(_s, "-");
}
format(string, sizeof string, " %d0%", CarregandoPCPref[playerid]);
strcat(_s, string);
if(CarregandoPCPref[playerid] > 10)
{
if(!PlayerToPoint(1, playerid, 361.9699,169.5079,1025.7890))
{
return SendClientMessage(playerid, COLOR_GRAD2, "Voce precisa estar na maleta para Ler os Arquivos.");
}
PlayerTextDrawHide(playerid, balaoAviso[playerid]);
return VerificadoPCPref(playerid);
}
return BalaoPCPref(playerid, _s, 3000);
}

