[Ajuda] Callback
#1

Код:
CALLBACK::Telaloading(playerid)
{
 new str[20];
 format(str, 100, "Baixando %d%",PorcentagemTelaLoading[playerid]);
   PlayerTextDrawSetString(playerid, TelaLogin[playerid][0], str);
   PlayerTextDrawShow(playerid, TelaLogin[playerid][0]);

    if(PorcentagemTelaLoading[playerid] == 100)
 {
     for(new i; i < sizeof(loadTela); i++)
  {
      TextDrawHideForPlayer(playerid, loadTela[i]);
  }
  PlayerTextDrawHide(playerid, TelaLogin[playerid][0]);
  KillTimer(TimerTelaLoading[playerid]);
   KillTimer(PorcentagemTelaLoading[playerid]);
     PorcentagemTelaLoading[playerid] = 0;
     showTelaLogin(playerid);
 }
 return PorcentagemTelaLoading[playerid]++;
}
Fiz essa callback na tela de load no login so que tem hora que buga e fica so carregando , sem parar , podem ajudar?
Reply


Messages In This Thread
Callback - by Jorginhoda12 - 30.11.2017, 15:07
Re: Callback - by JonathanFeitosa - 30.11.2017, 15:37
Re: Callback - by Jorginhoda12 - 01.12.2017, 18:45
Re: Callback - by Jorginhoda12 - 01.12.2017, 20:39
Re: Callback - by ThiagoMikael - 01.12.2017, 21:27

Forum Jump:


Users browsing this thread: 1 Guest(s)