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


Messages In This Thread
Attaching object offsets - by PeanutButter - 18.12.2016, 16:05
Re: Attaching object offsets - by ISmokezU - 18.12.2016, 16:27
Re: Attaching object offsets - by PeanutButter - 18.12.2016, 20:41

Forum Jump:


Users browsing this thread: 1 Guest(s)