berry172 Posted August 27, 2012 Posted August 27, 2012 Hy all! goto pos x,y,z command? example: /gotopos 1000.5 , 1251.7 , 2412.5 thank
robhol Posted August 27, 2012 Posted August 27, 2012 addCommandHandler, setElementPosition. It's possible to use the wiki before asking questions.
berry172 Posted August 28, 2012 Author Posted August 28, 2012 i'm not understand english... Please write example command /gotopos...
gokalpfirat Posted August 28, 2012 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)
robhol Posted August 28, 2012 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..
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