18.06.2013, 07:09
(
Последний раз редактировалось Antonio144; 18.06.2013 в 07:49.
)
Thanks for replaying.
But that will not work. GetObjectPos requires objectid, YourObject is modelid.
EDIT
There is no objectid since it does not take an object slot.
Is it possible to get position of an object or bone that is used in SetPlayerAttachedObject?
It can be a world position or an offset from player center position (GetPlayerPos).
I only need the Z coordinate.
But that will not work. GetObjectPos requires objectid, YourObject is modelid.
EDIT
There is no objectid since it does not take an object slot.
Is it possible to get position of an object or bone that is used in SetPlayerAttachedObject?
It can be a world position or an offset from player center position (GetPlayerPos).
I only need the Z coordinate.