Streamer view/stream distance
#2

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 oid;
    oid = CreateDynamicObject(modelid, x, y, z, rx, ry, rz, worldid, interiorid, playerid, streamdistance);
    Streamer_SetFloatData(STREAMER_TYPE_OBJECT, oid, E_STREAMER_DRAW_DISTANCE, drawdistance);
    return oid;
}
Thanks to [uL]Pottus for this, I found this on ****** :P | maybe try to search before asking question

Change all CreateDynamicObject to AddDynamicObject

or You could create a definition.

pawn Код:
#define CreateDynamicObject AddDynamicObject
EDIT: If you want to increase the drawdistance you could add a new parameter after streamdistance | AddDynamicObject drawdistance is 300.0
Reply


Messages In This Thread
Streamer view/stream distance - by Norrin - 24.12.2013, 13:45
Re: Streamer view/stream distance - by Patrick - 24.12.2013, 13:53
Re: Streamer view/stream distance - by Norrin - 24.12.2013, 13:57
Re: Streamer view/stream distance - by Konstantinos - 24.12.2013, 13:59
Re: Streamer view/stream distance - by Patrick - 24.12.2013, 13:59
Re: Streamer view/stream distance - by Norrin - 24.12.2013, 14:22
Re: Streamer view/stream distance - by Pottus - 24.12.2013, 14:23
Re: Streamer view/stream distance - by Don_Cage - 24.12.2013, 14:26
Re: Streamer view/stream distance - by Norrin - 24.12.2013, 14:26
Re: Streamer view/stream distance - by Pottus - 24.12.2013, 14:30

Forum Jump:


Users browsing this thread: 5 Guest(s)