Automatic Moving Gates
#4

Quote:
Originally Posted by mastalol
Посмотреть сообщение
How to i make
pawn Код:
CreateObject(980,-1545.63000488,-430.71353149,7.77339125,0.00000000,0.00000000,134.00000000);
Move to:
pawn Код:
(-1553.38537598,-422.91333008,7.77339125); // (x, y, z)
Automaticly like in the original GTA SA offline mode?
WITHOUT CHECKPOINT MARKERS!
maybe zone parameters? idk?
can someone help me please?
pawn Код:
new gate;

gate = CreateObject(980,-1545.63000488,-430.71353149,7.77339125,0.00000000,0.00000000,134.00000000);

CMD:gate(playerid, params[])
{
    gateopen();
    SendClientMessage(playerid, 0xFF000000, "The gate will automatically close in 10 seconds!");
    return 1;
}

forward gateopen();
public gateopen()
{
    MoveObject(gate, -1553.38537598,-422.91333008,7.77339125, 2.0);
    SetTimer("closegate", 10000, false);
    return 1;
}
forward closegate();
public closegate()
{
    MoveObject(gate, -1545.63000488,-430.71353149,7.77339125, 2.0);
    return 1;
}
Reply


Messages In This Thread
Automatic Moving Gates - by mastalol - 25.07.2011, 12:31
Re: Automatic Moving Gates - by [HiC]TheKiller - 25.07.2011, 12:33
Re: Automatic Moving Gates - by JackT - 25.07.2011, 14:25
Re: Automatic Moving Gates - by VitalRP - 25.07.2011, 17:11
Re: Automatic Moving Gates - by mastalol - 25.07.2011, 18:07
Re: Automatic Moving Gates - by VitalRP - 25.07.2011, 20:26
Re: Automatic Moving Gates - by eDz0r - 25.07.2011, 20:29
Re: Automatic Moving Gates - by VitalRP - 25.07.2011, 21:03

Forum Jump:


Users browsing this thread: 5 Guest(s)