GetDynamicObjectPos returns old location after moving with SelectObject
#5

Quote:
Originally Posted by Ferman
Посмотреть сообщение
Maybe you need to get your cordinates from a callback, example after editing with EditObject you need to use SetObjectPos in OnPlayerEditObject and aftar that you can use GetObjectPos.
Adding

Код:
SetDynamicObjectPos(objectid, x,y,z);
SetDynamicObjectRot(objectid, rx,ry,rz);
To OnPlayerEditDynamicObject fixed it, thank you for your suggestion.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)