DiosSasuke Posted August 2, 2018 Share Posted August 2, 2018 objs = {} addCommandHandler ( "123", function ( thePlayer ) local x, y, z = getElementPosition ( thePlayer ) local mat = Matrix.create ( x+30, y, z+20) local forward = ( Matrix.getForward ( mat ) * 1) local pos = ( Matrix.getPosition ( mat ) + forward ) setTimer (createExplosion, 2000, 1,x+30, y, z, 11) objs[thePlayer] = createObject(751, pos) moveObject( objs[thePlayer], 2000, x+30, y, z+0) end ) how do I make this object appear where I look? help me please Link to comment
DiosSasuke Posted August 2, 2018 Author Share Posted August 2, 2018 somebody help me please? 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