(s)ection Posted May 6, 2014 Share Posted May 6, 2014 Hi, i search how to create the box on the front of the player, but it make it behind or side but I want its on the front only. function test(thisplayer) local x, y, z = getElementPosition(thisplayer) createObject( 925, x, y + 1, z, 0 , 0 , 0 ) end addCommandHandler ( "box", test ) Link to comment
Karuzo Posted May 6, 2014 Share Posted May 6, 2014 You should try to get the element's rotation. Link to comment
(s)ection Posted May 6, 2014 Author Share Posted May 6, 2014 Yes but I want to add on the front of the player no add the rotation. Link to comment
Karuzo Posted May 6, 2014 Share Posted May 6, 2014 on the front of the player So how do you wanna get the front of the player with his position? Link to comment
(s)ection Posted May 6, 2014 Author Share Posted May 6, 2014 on the front of the player So how do you wanna get the front of the player with his position? Ok, thanks I have found. 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