Jump to content

Question about bone_attach


GamerDeMTA

Recommended Posts

Posted

So, I want to do a setTimer for detachElement I think I can use detachElementFromBone, but, where do I specify what ped ? Or wll it detach it from ALL the users? See, I mean, the example which functions.txt provides is:

detachElementFromBone(element) : detaches element from the bone of the ped. Server and client function. 
element : Element which you want to detach. 
Returns true if element was successfully detached, false otherwise. 

But, it's the 'element' (i need to put the object there, no?) and where do I put the player?

Posted

The element is detached from the ped it is attached to. That must be obvious. You cannot attach the element to more than one ped, so there's no need to specify it, since it is already known.

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