Attaching object offsets
#1

Hello,

I am working on an inventory system and I was wondering how I could attach objects to a player without them always having to adjust the position manually
and without me having to save the offsets for every object.

PHP код:
AttachObjectToPlayer(objectidplayeridFloat:OffsetXFloat:OffsetYFloat:OffsetZFloat:rXFloat:rYFloat:rZ
PHP код:
SetPlayerAttachedObject(playeridindexmodelidboneFloat:fOffsetXFloat:fOffsetYFloat:fOffsetZFloat:fRotXFloat:fRotYFloat:fRotZFloat:fScaleXFloat:fScaleYFloat:fScaleZmaterialcolor1materialcolor2
What's the best way to realistically attach an object to a player?
Reply
#2

Second one.
Reply
#3

Okay, but how do I know the offsets?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)