[Ajuda] Pobrema em comando /prender
#2

Tente assim:
pawn Код:
forward AtualizarHora();
public AtualizarHora()
{
 getdate(data[0], data[1], data[2]);
    gettime(hora[0], hora[1], hora[2]);
  for(new players; players < GetMaxPlayers(); players++)
    {
        if(!IsPlayerConnected(players)) continue;
        if(ProgressaoInfo[players][Preso] == true && ProgressaoInfo[players][TempoPreso] <= 0)
        {
            GameTextForPlayer(players,"Solto!",5000,5);
            SetPlayerPos(players,268.0135,77.1637,1001.0391);
            ProgressaoInfo[players][Preso] = false;
            ProgressaoInfo[players][TempoPreso] = 0;
            return true;
        }
        else if(ProgressaoInfo[players][Preso] == true && ProgressaoInfo[players][TempoPreso] >  0)
        {
            ProgressaoInfo[players][TempoPreso] --;
            return true;
        }
    }
    return true;
}
Reply


Messages In This Thread
Pobrema em comando /prender - by Rodrigo_Avenged - 16.02.2013, 09:46
Re: Pobrema em comando /prender - by Gutierrez_zikaloko - 16.02.2013, 10:11

Forum Jump:


Users browsing this thread: 1 Guest(s)