SA-MP Forums Archive
Streamer object 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: Streamer object distance ... (/showthread.php?tid=614805)



Streamer object distance ... - WildWave - 13.08.2016

So.... ,
In my server i can see the dynamic objects from distance X , but i aint vaule the distances on the objects.
Its looks like this :


How can i fix it ?

exmple :
Код:
CreateDynamicObject(870, -1863.86829, 1073.72607, 144.41888,   0.00000, 0.00000, 0.00000);



Re: Streamer object distance ... - TayFunCZE - 13.08.2016

PHP код:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_OBJECT_SDFloat:drawdistance STREAMER_OBJECT_DD); 
Set interior, world, draw distance, stream distance, etc...

PHP код:
CreateDynamicObject(870, -1863.868291073.72607144.41888,   0.000000.000000.00000, -1, -1, -1700.0350.0); 



Re: Streamer object distance ... - WildWave - 13.08.2016

Quote:
Originally Posted by TayFunCZE
Посмотреть сообщение
PHP код:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_OBJECT_SDFloat:drawdistance STREAMER_OBJECT_DD); 
Set interior, world, draw distance, stream distance, etc...

PHP код:
CreateDynamicObject(870, -1863.868291073.72607144.41888,   0.000000.000000.00000, -1, -1, -1700.0350.0); 
did it:
Код:
CreateDynamicObject(19450, -1865.61646, 1079.64185, 145.92281,   0.00000, 0.00000, 0.00000,-1, -1, -1, 700.0, 350.0);
Same...


Re: Streamer object distance ... - jlalt - 13.08.2016

Your script reaching maximum objects amount [ 1000 object ] so server hiding the far objects and showing the nearest for you, be sure you don't have CreateObject in your script, because they causing this bug / objects hide.

When you use CreateObject you will give streamer less slots to show the objects for you.


Re: Streamer object distance ... - WildWave - 13.08.2016

Quote:
Originally Posted by jlalt
Посмотреть сообщение
Your script reaching maximum objects amount [ 1000 object ] so server hiding the far objects and showing the nearest for you, be sure you don't have CreateObject in your script, because they causing this bug / objects hide.

When you use CreateObject you will give streamer less slots to show the objects for you.
Holy ... Didnt thought about that , gonna change all my createobjects and give u answer when ill try it


Re: Streamer object distance ... - WildWave - 13.08.2016

Quote:
Originally Posted by TayFunCZE
Посмотреть сообщение
PHP код:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_OBJECT_SDFloat:drawdistance STREAMER_OBJECT_DD); 
Set interior, world, draw distance, stream distance, etc...

PHP код:
CreateDynamicObject(870, -1863.868291073.72607144.41888,   0.000000.000000.00000, -1, -1, -1700.0350.0); 
Quote:
Originally Posted by jlalt
Посмотреть сообщение
Your script reaching maximum objects amount [ 1000 object ] so server hiding the far objects and showing the nearest for you, be sure you don't have CreateObject in your script, because they causing this bug / objects hide.

When you use CreateObject you will give streamer less slots to show the objects for you.
You are legit