[Ajuda] Bug ao Contar players!
#1

esta contando somente os tres primeiro que logam...


pawn Код:
ContarJogadores()
{
 new Jogadores = 0;
 for(new i = 0; i < MAX_PLAYERS; ++i){
  if(IsPlayerConnected(i))
   Jogadores++;
 }
 return Jogadores;
}
forward PlayersOnline(playerid);
public PlayersOnline(playerid)
{
   format(String, sizeof(String), "%d/%d", ContarJogadores(), MAX_PLAYERS);
   TextDrawSetString(Players, String);
   return 1;
}
Reply


Messages In This Thread
Bug ao Contar players! - by best95 - 01.08.2016, 19:38
Re: Bug ao Contar players! - by Mark009 - 01.08.2016, 19:45
Re: Bug ao Contar players! - by F1N4L - 01.08.2016, 19:48
Re: Bug ao Contar players! - by WLSF - 01.08.2016, 20:04
Re: Bug ao Contar players! - by best95 - 01.08.2016, 20:11
Re: Bug ao Contar players! - by F1N4L - 01.08.2016, 20:13
Re: Bug ao Contar players! - by best95 - 01.08.2016, 20:59
Re: Bug ao Contar players! - by best95 - 01.08.2016, 21:12
Re: Bug ao Contar players! - by BobbMarley - 01.08.2016, 22:10
Re: Bug ao Contar players! - by best95 - 01.08.2016, 22:35

Forum Jump:


Users browsing this thread: 1 Guest(s)