streaming distance and drawdistance
#1

Hi,

Dynamic object have streaming distance and drawdistance, i change both to 1000 for object and i see it from that distance, so i always change stream and draw distance? why default draw distance is 0.0?
Reply
#2

There. That is, from the include.

Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 500.0);
Reply
#3

CreateDynamicObject(modelid, Float, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Floattreamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);
Reply
#4

Modify from the include, streamer.inc
Same is rare that is a problem of that, I recommend you update your include and plugin too
Reply
#5

I think you don't understand what i ask, i please to explain what mean stream and draw distances
Reply
#6

This may interest you, translate it and you will see.

http://forum.sa-mp.com/showthread.ph...00#post1331200
Reply
#7

StreamDistance would suggest it's what's streamed to your client, and drawdistance would be where it's drawn from on the client.

You could easily set up a test script from checking this out, and setting different draw distances and stream distances.
Reply
#8

So drawdistance i set 1000.0 but i still see from near, how this can by?
Reply
#9

I think that the streamdistance is the distance the object is placed into memory on the client side. The drawdistance is when said object is loaded from memory and drawn on screen. Therefore: drawdistance ≤ streamdistance at all times. Again, not sure. But this seems the most logical.
Reply
#10

But default drawdistance is 0.0 in streamer.inc
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)