Quantcast

Jump to content

» «
Photo

Bone control

3 replies to this topic
flynhigh09
  • flynhigh09

    Player Hater

  • Members
  • Joined: 22 Sep 2013

#1

Posted 2 weeks ago Edited by flynhigh09, 2 weeks ago.

Is there a way to control bones. I was trying to use SET_VEHICLE_DOOR_CONTROL(vehicle, doorindx) but it only takes a door index not a bone hash.
I just did want to rename parts to doors for this to work.

flynhigh09
  • flynhigh09

    Player Hater

  • Members
  • Joined: 22 Sep 2013

#2

Posted 2 weeks ago

Even if i use get_bone_by_index("door_dside_f") it returns a value higher than a 0-6 which i believe is only thing SET_VEHICLE_DOOR_CONTROL() uses.
Any tips

OfficerJohnson
  • OfficerJohnson

    Crackhead

  • Members
  • Joined: 07 Jan 2018
  • United-States

#3

Posted 2 weeks ago

A vehicle is considered an ENTITY as well as a VEHICLE. Have you tried looking for a native that gets the ENTITY_BONE_INDEX instead?

flynhigh09
  • flynhigh09

    Player Hater

  • Members
  • Joined: 22 Sep 2013

#4

Posted 2 weeks ago Edited by flynhigh09, 2 weeks ago.

I havent but i will give it a try n see what results thanks.

Edit:
Actually i was, its the only native i see that does return Entity bone




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users