Jump to content

Ayudenme por favor


DiosSasuke

Recommended Posts

como hago que este objeto aparesca donde yo miro? ayudenme por favor :(

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 
)

 

Link to comment
  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...