28.08.2011, 14:37
Setting the draw distance of all objects would require a loop, it'd work the following:
I don't know if Streamer_GetUpperBound works like that, but give it a try!
pawn Код:
for(new objectid = 0, objects = Streamer_GetUpperBound(STREAMER_TYPE_OBJECT); objectid != objects; objectid++)
{
Streamer_SetFloatData(STREAMER_TYPE_OBJECT, objectid, E_STREAMER_DRAW_DISTANCE, 300.0);
}