Automatic Gate with Command?
#5

You have to map a gate, i think you know how to do this ( with mta for an example ). You must have the positions for Closed and for Opened. Now if the position for CLOSED is 85.1272,-222.7333,1.5781,354.7394,0,0 you have to do it like this:
pawn Код:
starsgate = CreateObject(ObjectID,85.1272,-222.7333,1.5781,354.7394,0,0);
The Objectid can for an example be 980.

And now at the Moveobject Part enter the position for OPENED, like that:
pawn Код:
MoveObject(starsgate,x-pos,y-pos,z-pos,speed); //The speed can for an example be 1.5
And then it have to work
Reply


Messages In This Thread
Automatic Gate with Command? - by ServerScripter - 10.07.2011, 19:39
Re: Automatic Gate with Command? - by xXGaryXx - 10.07.2011, 20:03
Re : Automatic Gate with Command? - by ServerScripter - 10.07.2011, 20:10
Re : Automatic Gate with Command? - by ServerScripter - 10.07.2011, 20:18
Re: Automatic Gate with Command? - by xXGaryXx - 10.07.2011, 20:28
Re : Automatic Gate with Command? - by ServerScripter - 11.07.2011, 19:45
Re : Automatic Gate with Command? - by ServerScripter - 11.07.2011, 20:30
Re: Automatic Gate with Command? - by Noner - 11.07.2011, 20:53
Re : Automatic Gate with Command? - by ServerScripter - 11.07.2011, 21:00
Re: Re : Automatic Gate with Command? - by Noner - 11.07.2011, 21:04

Forum Jump:


Users browsing this thread: 1 Guest(s)