[Ajuda] Portгo Automatico!
#6

pawn Код:
public VerificarPortao()
{
    new nome[MAX_PLAYER_NAME], Float:X, Float:Y, Float:Z;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        GetPlayerPos(i, X, Y, Z);
        GetPlayerName(i, nome, sizeof(nome));
        if(PlayerNoRaio(10, -1530.2000, 481.6600, 8.9200, i))
        {
            if(!strcmp(nome, "jogador1", true) || !strcmp(nome, "jogador2", true) || !strcmp(nome, "jogador3", true))
            {
                MoveObject(Portao, -1520.2000, 481.6600, 8.9200, 8);
                SetTimer("FecharPortao", 8000, true);
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Portгo Automatico! - by jdsfenix - 30.11.2012, 20:13
Re: Portгo Automatico! - by jdsfenix - 30.11.2012, 21:50
Re: Portгo Automatico! - by Gleisson_. - 30.11.2012, 22:21
Re: Portгo Automatico! - by jdsfenix - 01.12.2012, 13:45
Re: Portгo Automatico! - by lucas_mdr1235 - 01.12.2012, 13:53
Re: Portгo Automatico! - by Rodney Francalim - 01.12.2012, 14:23
Re: Portгo Automatico! - by zSuYaNw - 01.12.2012, 15:55
Re : Portгo Automatico! - by ipsBruno - 01.12.2012, 15:59
Re: Portгo Automatico! - by lucas_mdr1235 - 01.12.2012, 16:59
Re: Portгo Automatico! - by jdsfenix - 01.12.2012, 18:21

Forum Jump:


Users browsing this thread: 1 Guest(s)