Jump to content

attach object to bone


Recommended Posts

can anyone tell me how to use this script correctly?

 

 

$GUN = object.Create(#COLT45, 0.0, 0.0, 0.0)09A0: actor $PLAYER_ACTOR attach_object $GUN with_offset 1.0 0.0 0.0 on_bone 11 16 perform_animation "NULL" IFP_file "NULL" time -1

 

 

the object doesnt appears attached to the actors leg

i know the coordinates are of the charts but i was just making sure that the object would actually appear

Link to comment
https://gtaforums.com/topic/457233-attach-object-to-bone/
Share on other sites

Replace $GUN to local variable, may help.

Link to comment
https://gtaforums.com/topic/457233-attach-object-to-bone/#findComment-1060089695
Share on other sites

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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.