[FilterScript] [Request]APGATES
#2

Mhm.....you can check out my FilterScript.
| Jeremy | - AUTOMATIC GATES

Just Replace the codes with yours.

For your help:
pawn Код:
forward TGate1();
public TGate1()
{
        new gateopen;
    if(!gateopen)
    MoveObject(Gate1, -838.46210, 2742.37427, 46.26330, 3); // THE OBJECTS POSITION WHEN IT'S CLOSED
        gateopen = 0;
        for(new i=GetMaxPlayers(); i > -1; i--)
    {
        if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i, 5.0, -843.3140, 2738.1877, 44.7193))
        {
            gateopen = 1;
            MoveObject(Gate1, -838.4621, 2742.3743, 42.2823, 3); // OBJECTS POSITION WHEN IT'S OPENED
            break;
        }
    }
}
Reply


Messages In This Thread
[Request]APGATES - by KDark - 26.02.2014, 15:33
Re: [Request]APGATES - by JeremyPeterson - 26.02.2014, 15:36
Re: [Request]APGATES - by KDark - 27.02.2014, 03:34
Re: [Request]APGATES - by MacT - 27.02.2014, 19:41
Re: [Request]APGATES - by KDark - 12.03.2014, 14:39

Forum Jump:


Users browsing this thread: 1 Guest(s)