12.06.2014, 08:25
Hi All.I need help with object view distance.How can i make example to player see any plane at so far at my server player can see only if is so close near player.How can i make distance so far ?
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;
}