Automatic Gate
#2

Quote:
Originally Posted by Osviux
Посмотреть сообщение
How to make an Automatic Gate?

I tried this but it didnt work.

if(IsPlayerInRangeOfPoint(25,playerid,-1631.78, 688.24, 8.6)
{
MoveObject(Vartaii,-1631.78, 688.24, 8.68,3);
return 1;
}
I'm sure the "playerid" argument is the first one, (playerid, range, x, y, z);

To move it back you can use "OnObjectMoved" as it's called when an object stops moving (gets to it's destination).
Reply


Messages In This Thread
Automatic Gate - by Osviux - 12.07.2010, 09:46
Re: Automatic Gate - by Donny_k - 12.07.2010, 09:55
Re: Automatic Gate - by Osviux - 12.07.2010, 10:08
Re: Automatic Gate - by Donny_k - 12.07.2010, 10:12
Re: Automatic Gate - by TouR - 12.07.2010, 10:14
Re: Automatic Gate - by Osviux - 12.07.2010, 10:23
Re: Automatic Gate - by TouR - 12.07.2010, 10:24
Re: Automatic Gate - by Osviux - 12.07.2010, 10:31
Re: Automatic Gate - by TouR - 12.07.2010, 10:35
Re: Automatic Gate - by TouR - 12.07.2010, 10:36

Forum Jump:


Users browsing this thread: 3 Guest(s)