Object stream issue.
#1

When it's tested on the local server, everything is perfect.
However, when it's uploaded to the box the interior(Custom) is extremely glitched.
It looks like the draw distance is at 10 or something like that.
It is using a Object streamer(Incognitos).
Reply
#2

I had this problem before, it got something to do with the plugins the objects wont load with such plugins tell me all the plugin names you have.
Reply
#3

Actually CreateDynamicObject does not have any drawdistance parameter; therebefore it's 0.0

You can add drawdistance though, an example would be:
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
        objectid
    ;
    objectid = CreateDynamicObject( modelid, x, y, z, rx, ry, rz, worldid, interiorid, playerid, streamdistance );
    Streamer_SetFloatData( STREAMER_TYPE_OBJECT, objectid, E_STREAMER_DRAW_DISTANCE, drawdistance );
    return objectid;
}
And create all the objects with AddDynamicObject. The last parameter is drawdistance which is by default 300.0

PS: Make sure that the version of both the plugin and include file is 2.6.1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)