13.11.2013, 20:41
Actually CreateDynamicObject does not have any drawdistance parameter; therebefore it's 0.0
You can add drawdistance though, an example would be:
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
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;
}
PS: Make sure that the version of both the plugin and include file is 2.6.1