Object stream issue.
#3

Actually CreateDynamicObject does not have any drawdistance parameter; therebefore it's 0.0

You can add drawdistance though, an example would be:
pawn Код:
stock AddDynamicObject( modelid, Float: x, Float: y, Float: z, Float: rx, Float: ry, Float: rz, worldid = -1, interiorid = -1, playerid = -1, Float: streamdistance = 300.0, Float: drawdistance = 300.0 )
{
    new
        objectid
    ;
    objectid = CreateDynamicObject( modelid, x, y, z, rx, ry, rz, worldid, interiorid, playerid, streamdistance );
    Streamer_SetFloatData( STREAMER_TYPE_OBJECT, objectid, E_STREAMER_DRAW_DISTANCE, drawdistance );
    return objectid;
}
And create all the objects with AddDynamicObject. The last parameter is drawdistance which is by default 300.0

PS: Make sure that the version of both the plugin and include file is 2.6.1
Reply


Messages In This Thread
Object stream issue. - by Lynn - 13.11.2013, 20:14
Re: Object stream issue. - by Danialdano - 13.11.2013, 20:21
Re: Object stream issue. - by Konstantinos - 13.11.2013, 20:41

Forum Jump:


Users browsing this thread: 1 Guest(s)