Dynamic objects not showing up..
#2

You need to use Streamer_SetFloatData and set the drawdistance here is a function for it.

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, 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;
}
Reply


Messages In This Thread
Dynamic objects not showing up.. - by Phil_Cutcliffe - 29.11.2013, 21:45
Re: Dynamic objects not showing up.. - by Pottus - 29.11.2013, 21:47
Re: Dynamic objects not showing up.. - by Phil_Cutcliffe - 30.11.2013, 14:21
Re: Dynamic objects not showing up.. - by Baboon - 30.11.2013, 14:23
Re: Dynamic objects not showing up.. - by Phil_Cutcliffe - 30.11.2013, 20:54
Re: Dynamic objects not showing up.. - by Konstantinos - 30.11.2013, 21:12
Re: Dynamic objects not showing up.. - by Phil_Cutcliffe - 01.12.2013, 07:39
Re: Dynamic objects not showing up.. - by Phil_Cutcliffe - 01.12.2013, 09:37
Re: Dynamic objects not showing up.. - by Patrick - 01.12.2013, 09:39
Re: Dynamic objects not showing up.. - by Phil_Cutcliffe - 01.12.2013, 10:15

Forum Jump:


Users browsing this thread: 1 Guest(s)