Stop an object moving when it's attached to a player
#1

If I attach an object to a player's bone, i.e. a chair, for instance, and the player begins to move, the object will move with the player. Is there any way to fix it so the object moves with the player, but is static?
Reply
#2

Not sure what you mean exactly. You mean so the object doesn't 'move' with the limbs? So if you attach something to your arm and start running, the object will move with your arm and will just be all over the place. Are you trying to get it so the object stays attached but doesn't move with the limb?

Try using AttachObjectToPlayer instead of SetPlayerAttachedObject.

https://sampwiki.blast.hk/wiki/AttachObjectToPlayer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)