Posts: 534
Threads: 265
Joined: Jul 2014
Hi,
I create dynamic object and problem is that i can't to see him until i will move. But i need to do that.. WIth CreateObject all is fine, but maybe impsosible to make for specif objects faster loading or something like that?
Posts: 534
Threads: 265
Joined: Jul 2014
No... I mean that i need createobject with CreateDynamicObject, but then i don't see him at right now i have to move when i can see him.
Posts: 743
Threads: 49
Joined: May 2014
Reputation:
0
Dynamic Objects load when the player moves, that's just the way it is. They are much better than CreateObject.
Posts: 534
Threads: 265
Joined: Jul 2014
But maybe possible to do that he load instantly, and i don't need to move? i need to do that just for one object.
Posts: 734
Threads: 8
Joined: Jun 2009
With the
Streamer plugin use Streamer_Update(playerid) to show/update objects for a specific player instantly, you can use Streamer_UpdateEx variant if you need more control...
Posts: 534
Threads: 265
Joined: Jul 2014
native Streamer_UpdateEx(playerid, Float
, Float:y, Float:z, worldid = -1, interiorid = -1);
x,y,z what mean? in what position is object, and there will be object, or player pos ?
Posts: 734
Threads: 8
Joined: Jun 2009
The 'Ex' variant is for advanced uses, IMHO you shouldn't use it. Just use Streamer_Update. Only use I can think for it is when you want to 'preload' all objects at the coordinates specified (x, y, z) or in particular world or interiorid to speed up loading.
Posts: 534
Threads: 265
Joined: Jul 2014
Then i can use just Streamer_Update( playerid ) and if i don't move i will still see object? because i freeze player and then in front of him create object.
And too very important when i createobject dynamic and i need to use this function?
CreateDynamicObject( ... );
Streamer_Update( playerid );
Posts: 734
Threads: 8
Joined: Jun 2009
If you wish that dynamic objects appear without player moving when they are created, then in both cases the answer is "yes".