[help]Gate - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [help]Gate (
/showthread.php?tid=560999)
[help]Gate -
Medscripter - 31.01.2015
how to make a Gate moving to top and moving to buttom or down
sorry for my bad english
Re: [help]Gate -
CalvinC - 31.01.2015
First, create an object, then use MoveObject, or MoveDynamicObject, depending if you're using streamer or not.
Re: [help]Gate -
1fret - 31.01.2015
You need the coordinates in order to know where the gate should move to . So for example: I want the gate to move to the right from its original position all I have to do is get the coodinates by opening MTA and place the original gate where I want it to be and then place another gate where I want the gate to move to, and then copy the coordinates and then make a code.
You can also check this tutorial out if you don't understand.
https://sampforum.blast.hk/showthread.php?tid=353988
Re: [help]Gate -
Medscripter - 31.01.2015
thinks All
Re: [help]Gate -
Medscripter - 31.01.2015
but bro i m not want with a CMD gate moving auto no /ogate o cgate or any cmd
Re: [help]Gate -
1fret - 31.01.2015
https://sampforum.blast.hk/showthread.php?tid=279757
tutorial on howto make automatic gates
Re: [help]Gate -
CalvinC - 31.01.2015
Then make a repeating timer of like 1 second or something under OnGameModeInit, that checks
IsPlayerInRangeOfPoint, (where you set the coordinates to the gate coordinates), and then MoveObject/MoveDynamicObject if he's in range.
Re: [help]Gate -
Medscripter - 31.01.2015
how to use a checkpoint invisible in map
Re: [help]Gate -
Medscripter - 31.01.2015
help pelaz