SA-MP Forums Archive
problem in stream_distance - 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: problem in stream_distance (/showthread.php?tid=452885)



problem in stream_distance - morocco - 23.07.2013

Hi guys

i have this bug


http://postimg.org/image/te9j2q4lh/


(away)
http://postimg.org/image/jneb3veab/


sever.cfg

Код:
stream_distance 800.0
stream_rate 1000
this object

pawn Код:
CreateDynamicObject(11387,2122.5644500,-1920.8342300,15.8875000,0.0000000,0.0000000,90.0000000, -1, -1, -1, 800.0); //



Re: problem in stream_distance - Red_Dragon. - 23.07.2013

Adjust your streaming distance till it fits your needs.


Re: problem in stream_distance - morocco - 23.07.2013

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
Adjust your streaming distance till it fits your needs.
How ?!


Re: problem in stream_distance - Red_Dragon. - 23.07.2013

Adjust stream_distance in your server.cfg


Re: problem in stream_distance - morocco - 23.07.2013

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
Adjust stream_distance in your server.cfg
Ok thanks , but what is max ?


Re: problem in stream_distance - Red_Dragon. - 23.07.2013

stream_distance with larger values, players can see server entities at a greater distance although will require more client processing and potentially more bandwidth.


Re: problem in stream_distance - Pottus - 23.07.2013

I've explained this many times.... I'll make it bold and large this time.

CreateDynamicObject() is the worst function in Incognito's streamer

Don't use it, don't look at it, don't touch it the problem has nothing to do with stream distance and everything to do with drawdistance you want to use CreateDynamicObjectEx() instead from what I understand CreateDynamicObject() uses the objects default drawdistance which is a problem.

pawn Код:
native CreateDynamicObjectEx(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:drawdistance = 0.0, Float:streamdistance = 200.0, worlds[] = { -1 }, interiors[] = { -1 }, players[] = { -1 }, maxworlds = sizeof worlds, maxinteriors = sizeof interiors, maxplayers = sizeof players);



Re: problem in stream_distance - morocco - 23.07.2013

@[uL]Pottus
thank you so much !

I think you don't need Rep, But + Rep not for help

For your work(s)
http://forum.sa-mp.com/search.php?searchid=6735186