Incognito's object streamer help - 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: Incognito's object streamer help (
/showthread.php?tid=296449)
Incognito's object streamer help -
Alphos - 11.11.2011
Hello,
I'm not the best with pawn, but all I need to know is how to change the render distance in incognito's object streamer, and what the max. distance is. I'm testing a large map which I've mapped recently but the large objects just literally pop infront of you within a certain distance and that makes it look ugly. I want people to be able to look a little more ahead of them.
Is this possible?
Re: Incognito's object streamer help -
Stigg - 11.11.2011
pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
Look at the last value.
Re: Incognito's object streamer help -
Calgon - 11.11.2011
Yes, it's very possible - the draw distance is an actual parameter to the CreateDynamicObject() command:
pawn Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
The final parameter is the draw distance parameter, which is by default 200.0.