[Ajuda] MAX_PLAYERS ou Variavel
#5

pawn Код:
new bool:Array[MAX_PLAYERS];

CMD:duel(playerid)
{
    if(Array[playerid] == true)
        return SendClientMessage(playerid,0xFFDD00FF,"> Vocк jб estб em um duel!");
    return 1;
}
MAX_PLAYERS й uma definiзгo, que por padrгo й 500, mas vocк pode alterar no seu GM. Recomendo utilizar a quantidade de slots do seu servidor.

pawn Код:
#undef MAX_PLAYERS
#define MAX_PLAYERS 20 // slots
Reply


Messages In This Thread
MAX_PLAYERS ou Variavel - by RuanRider - 01.10.2013, 14:47
Re: MAX_PLAYERS ou Variavel - by Locky_ - 01.10.2013, 14:50
Re: MAX_PLAYERS ou Variavel - by RuanRider - 01.10.2013, 14:54
Re: MAX_PLAYERS ou Variavel - by ThuuGLif3 - 01.10.2013, 14:56
Re: MAX_PLAYERS ou Variavel - by arakuta - 01.10.2013, 15:05
Re: MAX_PLAYERS ou Variavel - by RuanRider - 01.10.2013, 15:42
Re: MAX_PLAYERS ou Variavel - by DarckWilly - 01.10.2013, 19:51
Re: MAX_PLAYERS ou Variavel - by zSuYaNw - 01.10.2013, 20:07
Re: MAX_PLAYERS ou Variavel - by Zivo - 01.10.2013, 20:52
Re: MAX_PLAYERS ou Variavel - by arakuta - 01.10.2013, 21:02

Forum Jump:


Users browsing this thread: 3 Guest(s)