Jump to content

Need Help


Recommended Posts

Posted
addCommandHandler ( "bag", 
    function ( thePlayer ) 
        local bag = createObject ( 1550, 0, 0, 0 ) -- Creates an object at coordinates: 0, 0, 0 
        setElementCollisionsEnabled ( bag, false ) -- Disables the object collisions, so it won't collide with the player. 
        attachElements ( bag, thePlayer, 0, -0.3, 0.3 ) -- Attachs the object to the player that used the command. 
    end 
) 

Write "/bag" and enjoy!

Posted
I'm going to make a Pickup bag..and need this bag shows in the player back...not only destroy element...i want the bag shows in the player back...so what function to do that? ( bag model: 1550 )

Thanks.

How to check if the player's bending down with ( c ) key...to change the position of the bag..and how to check if the player's running..to make the bag in his back more..Thanks

Posted
Well, instead of that, you can attach it to a bone, download the resource called "bone_attach".

How to use this bone_attach..downloaded..but i don't feel like using it..it's good? anyway can you tell me how to use it? or tell me how to check the player if he bends down or running with space

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...