berry172 Posted August 27, 2012 Share Posted August 27, 2012 Hy all! goto pos x,y,z command? example: /gotopos 1000.5 , 1251.7 , 2412.5 thank Link to comment
robhol Posted August 27, 2012 Share Posted August 27, 2012 addCommandHandler, setElementPosition. It's possible to use the wiki before asking questions. Link to comment
berry172 Posted August 28, 2012 Author Share Posted August 28, 2012 i'm not understand english... Please write example command /gotopos... Link to comment
gokalpfirat Posted August 28, 2012 Share Posted August 28, 2012 function gpos (source,cmd,x,y,z) x = tonumber(x) y = tonumber(y) z = tonumber(z) setElementPosition(source,x,y,z) end addCommandHandler("gotopos",gpos) Link to comment
robhol Posted August 28, 2012 Share Posted August 28, 2012 Maybe you should learn some. I'm not trying to be an ass here, but if you can't read documentation, maybe scripting isn't for you.. 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