12.06.2014, 11:05
(
Последний раз редактировалось Laure; 12.06.2014 в 12:23.
)
Something like this , Also the last one is the drawdistance( also marked below ), Also use Streamer plugin to make it work.
PS: Replace all of your CreateDynamicObject ( except the one in the stock ), with CreateDynamicObjectEx.
pawn Код:
stock CreateDynamicObjectEx(modelid, Float: x, Float: y, Float: z, Float: rx, Float: ry, Float: rz, worldid = -1, interiorid = -1, playerid = -1, Float: streamdistance = 200.0)
{
new objectid = CreateDynamicObject(modelid, x, y, z, rx, ry, rz, worldid, interiorid, playerid, streamdistance);
Streamer_SetFloatData(STREAMER_TYPE_OBJECT, objectid, E_STREAMER_DRAW_DISTANCE, 300.0); // this one
return objectid;
}