Auto Gate
#4

I mean you put the code in but not the dynamic object

So keep this:
}
public OnPlayerConnect(playerid)
{
SetTimerEx( "AGCheck", 750, true, "i", playerid );
return 1;
}
forward AGCheck(playerid);
public AGCheck(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,8.0,2184.899902 3438, -1763.1999511719, 15.199999809265))
{
MoveDynamicObject(AutoGate,2196.1999511719, -1763.9000244141, 15.199999809265,2.00);
}
else
{
MoveDynamicObject(AutoGate,2184.8999023438, -1763.1999511719, 15.199999809265,2.00);
}
return 1;
}

but remove the same object in the code above that
Reply


Messages In This Thread
Auto Gate - by Tanush123 - 26.12.2011, 14:49
Re: Auto Gate - by milanosie - 26.12.2011, 14:56
Re: Auto Gate - by Tanush123 - 26.12.2011, 15:00
Re: Auto Gate - by milanosie - 26.12.2011, 15:06
Re: Auto Gate - by DonWade - 26.12.2011, 15:19

Forum Jump:


Users browsing this thread: 2 Guest(s)