Jump to content

help me


Recommended Posts

how can i add rights to this script so just admins can open it

local gate = createObject ( 980,214,1875.5,13.800000190735,0,0,0) 
  
function opengate(player) 
moveObject ( gate, 4000, 204,1876.0999755859,13.800000190735) 
end 
  
addCommandHandler ("ogate", opengate) 
  
function closegate (player) 
moveObject ( gate, 4000, 214,1875.5,13.800000190735)                     
end          
                 
addCommandHandler("cgate", closegate ) 
  
  
  
  

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...