Fox261098 Posted July 7, 2016 Share Posted July 7, 2016 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now