[Ajuda] GM Pawno SA-MP
#7

Quote:
Originally Posted by FallweN
Посмотреть сообщение
pawn Код:
CMD:ppm(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid,7.0, X, Y, Z)) // Troque X,Y,Z PELA CORDENADA DO PORTO FECHADO ! Troque 7.0 Pela Distancia
    {
        MoveObject(ppm, X,Y,Z, 4.0); // Troque X,Y,Z PELA CORDENADA DO PORTAO ABERTO ! 3.0 = Velocidade para ele se Mecher !
        SetTimerEx("Closeppm", 5000, false, "i", ppm); // Troque 10000 pelo que Tempo pro portao fechar( Lembrando que o TEMPO й em MS 10000 = 10 Segundos )!
        return 1;
    }
    return 1;
}
pawn Код:
if((newkeys==KEY_CROUCH)) // KEY_CROUCH ( Buzina do carro )
{
    cmd_ppm(playerid);
}
Deu certo tambйm, obrigado.
Reply


Messages In This Thread
GM Pawno SA-MP - by ContunuGV - 09.01.2017, 21:06
Re: GM Pawno SA-MP - by Ermanhaut - 09.01.2017, 21:10
Re: GM Pawno SA-MP - by Felipe1241421 - 09.01.2017, 21:21
Re: GM Pawno SA-MP - by FallweN - 09.01.2017, 21:23
Re: GM Pawno SA-MP - by ContunuGV - 09.01.2017, 21:53
Re: GM Pawno SA-MP - by ContunuGV - 09.01.2017, 22:00
Re: GM Pawno SA-MP - by ContunuGV - 09.01.2017, 22:08

Forum Jump:


Users browsing this thread: 2 Guest(s)