Object drawdistance ? - 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 drawdistance ? (
/showthread.php?tid=604416)
Object drawdistance ? -
davve95 - 04.04.2016
I'm running Incognito's object streamer.
Are there anyway I could change the drawdistance? (for all objects)
and not all one by one. It would take a really damn long time.
Re: Object drawdistance ? -
jlalt - 04.04.2016
Open your streamer include, you will see something like that:
PHP код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD);
and something like that:
PHP код:
#if !defined STREAMER_OBJECT_DD
#define STREAMER_OBJECT_DD 0.0
#endif
change 0.0 value and here you done sir!
Re: Object drawdistance ? -
introzen - 04.04.2016
You have this in streamer.inc.
PHP код:
#if !defined STREAMER_OBJECT_DD
#define STREAMER_OBJECT_DD 0.0
I guess that's for object_drawdistance. Define default to what you want and remove DD from any CreateDynamicObject.
Re: Object drawdistance ? -
SyS - 04.04.2016
extreme pawn has a feature to replace all specified text in the code