drawdistance & streamdistance - 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: drawdistance & streamdistance (
/showthread.php?tid=431677)
drawdistance & streamdistance -
Edvin - 19.04.2013
What is the difference between
drawdistance and
streamdistance ?
I know that the drawdistance is to set from what distance from the Object, 3DText,etc is far player, but streamdistance ?
Re: drawdistance & streamdistance -
Edvin - 19.04.2013
Quote:
Originally Posted by ******
That's the distance at which the object is sent to the player. The game can only hold a certain number of objects, even if their draw distance means that they're not shown, so only objects within the stream distance are sent.
|
Thanks

.
And one more question. This function:
Код:
stream_distance some value
is to set the objects/3dtexts stream distance? (from server.cfg)
Re: drawdistance & streamdistance -
Edvin - 19.04.2013
Oh, now i see that "CreateDynamicObject", "CreateDynamic3DTextLabel", and others have drawdistance param for each one
Quote:
native CreateDynamicObject(modelid, Float , Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float treamdistance = 200.0);
|
Now it's cleared. Thanks.