SA-MP Forums Archive
Object Streamer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Object Streamer (/showthread.php?tid=474359)



Object Streamer - Hitman-97- - 07.11.2013

Hi there, I've been looking for a good object streamer that is compatible with 0.3x, I currently finished mapping a server with over 1000 objects (over the SAMP limit). So can you please recommend good streamers?


Re: Object Streamer - Patrick - 07.11.2013

7Word Answer Icognito's Streamer, that's the best of all


Re: Object Streamer - Pottus - 07.11.2013

Quote:
Originally Posted by pds2k12
Посмотреть сообщение
7Word Answer Icognito's Streamer, that's the best of all
It's not bad but could be a lot better..... I'm just kidding it is the best but there is a few issues you should look into namely drawdistance issues with CreateDynamicObject() you can use CreateDynamicObjectEx() or the tried & tested fix.

pawn Код:
stock AddDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.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;
}