Incognito's object streamer help
#1

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?
Reply
#2

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.
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)