pcisoft Posted February 27, 2016 Share Posted February 27, 2016 Hello, I created bases and want to teleport to them by a simple command what can I do ? teleporting need to be per groups Thanks!!! Link to comment
1LoL1 Posted February 27, 2016 Share Posted February 27, 2016 Hello,I created bases and want to teleport to them by a simple command what can I do ? teleporting need to be per groups Thanks!!! addCommandHandler("go", function (source) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)),aclGetGroup("Group")) then setElementPosition(x, y, z) else outputChatBox("text...", source, 255, 255, 255, true) end) Link to comment
pcisoft Posted March 28, 2016 Author Share Posted March 28, 2016 Thank you, this helped me so much 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