Handcuff object
#1

Any one knows about Handcuff object?

This time i will give someone rep++
Reply
#2

Try this object ID: 19418
Reply
#3

Thanks the problem is how to get the x/y/z of the body coordinates

EDIT: rep for you CJGOGO
Reply
#4

I can remember once I saw a function wich had the following params as IDs(1-for left hand,2-for right hand,3-for the left foot,etc.) but I can't remeber the function's name,and NO,it wasn't AttachObjectToPlayer...
Reply
#5

Oh,here maybe it helps you:
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
and
https://sampwiki.blast.hk/wiki/Bone_IDs
Reply
#6

Why my mind always think that

Why professional scripters can define or can find the coordinates of body?
Reply
#7

You can just test until you got the right coordinates, this isnt magic.
But just use the function cjgogo posted, attaching the object to the hand bone is most simple.
Reply
#8

Use the attachments filterscript.
Reply
#9

Just attach it to their hands, every skin has different coordinates to get the perfect position. If you're not lazy then you can attach them one by one on every skin then save the coordinates then create an array.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)