[help]Gate
#1

how to make a Gate moving to top and moving to buttom or down

sorry for my bad english
Reply
#2

First, create an object, then use MoveObject, or MoveDynamicObject, depending if you're using streamer or not.
Reply
#3

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
Reply
#4

thinks All
Reply
#5

but bro i m not want with a CMD gate moving auto no /ogate o cgate or any cmd
Reply
#6

https://sampforum.blast.hk/showthread.php?tid=279757

tutorial on howto make automatic gates
Reply
#7

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.
Reply
#8

how to use a checkpoint invisible in map
Reply
#9

help pelaz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)