Closest dynamic object
#4

Quote:
Originally Posted by Patrick
Посмотреть сообщение
I see that you're using GetObjectPos instead of GetDynamicObjectPos

pawn Код:
native GetDynamicObjectPos(STREAMER_TAG_OBJECT objectid, &Float:x, &Float:y, &Float:z);
Yeah I forgot to edit the thread, Ive fixed that, but still the issue remains

Quote:
Originally Posted by Vince
Посмотреть сообщение
Dynamic objects are player object so you should probably use GetPlayerObjectPos. If that doesn't work you may also try Streamer_GetFloatData. Also there is Streamer_IsItemVisible and Streamer_GetDistanceToItem.
Ill try it out and post results if I fail or succeed
Reply


Messages In This Thread
Closest dynamic object - by TwinkiDaBoss - 07.12.2015, 20:24
Re: Closest dynamic object - by Vince - 07.12.2015, 20:28
Re: Closest dynamic object - by Patrick - 07.12.2015, 20:28
Re: Closest dynamic object - by TwinkiDaBoss - 07.12.2015, 20:47
Re: Closest dynamic object - by Jefff - 07.12.2015, 20:53
Re: Closest dynamic object - by TwinkiDaBoss - 07.12.2015, 20:58

Forum Jump:


Users browsing this thread: 2 Guest(s)