Automatic Moving Gates
#5

Not What i Was Looking For...

Quote:
Originally Posted by JackT
Посмотреть сообщение
~Thanks This WAS what i Was Looking For!
Quote:
Originally Posted by VitalRP
Посмотреть сообщение
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;
}
Not What i Was Looking For...
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: 6 Guest(s)