15.11.2013, 15:07
If you use Incognito's streamer, then replace any CreateDynamicObject with AddDynamicObject.
Add this at the bottom of the script, it adds drawdistance to the objects.
Add this at the bottom of the script, it adds drawdistance to the objects.
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;
}