Dynamic object bugg
#4

Am doing that. I create dynamic object and then in OnPlayerUpdate i MoveDynamicObject to your position with 20.0 speed. And after that i want to GetDynamicObjectPos, but position is that from where object start to move and it have no change even dynamic object is targeting me.

Код:
OnPlayerUpdate (..)
{
MoveDynamicObject(...);
new Float:X,Float:Y,Float:Z;
GetDynamicObjectPos( ...X,Y,Z );
SetPlayerMapIcon( playerid, 69, X,Y,Z, 0, 0xFFFFFFAA, MAPICON_GLOBAL );
}
And i make an icon in minimap:

SetPlayerMapIcon( playerid, 69, X,Y,Z, 0, 0xFFFFFFAA, MAPICON_GLOBAL );
How i said icon in the same place where object start moved. With CreateObject, MoveObject and so on.. Then icon is changing place where is object.. I tried to Streamer_Update(playerid); when i MoveDynamicObject but this not help.
Reply


Messages In This Thread
Dynamic object bugg - by Banditukas - 22.07.2014, 10:14
Re: Dynamic object bugg - by SKAzini - 22.07.2014, 10:23
Re: Dynamic object bugg - by Banditukas - 22.07.2014, 10:51
Re: Dynamic object bugg - by Banditukas - 24.07.2014, 09:56
AW: Dynamic object bugg - by Oskaar1994 - 24.07.2014, 11:42

Forum Jump:


Users browsing this thread: 4 Guest(s)