Jump to content

[HELP]How to make an movement gate


Blade2000

Recommended Posts

bin = createObject(1337,0,0,5) -- Creating a dust din at the coods 0,0,0 
  
function moveBin() 
local x,y,z = getElementPosition(bin) 
moveObject(bin,x+10,y,z) 
end 
addCommandHandler("move", moveBin) 

This script moves the bin at 0, 0, 0 by 10 meters. ( Not tested lol)

Link to comment
  • 5 years later...
Good night, I'm trying to create a gate script too but I want to make one that makes a mark and only opens the      door when the player is inside ... when player enters inside the mark the gate opens and then it closes .. someone can help me? In case I want to do this for an elevator that I need to put on the map of my server ... and putting a gate by command is not going to work right there I need an automatic THANK YOU FROM ANOTHER

Att

~Baido

Link to comment
  • Moderators

You will need :

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...