Need help for limit 1000 objects - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Need help for limit 1000 objects (
/showthread.php?tid=429115)
Re: Need help for limit 1000 objects -
Stolyse - 08.04.2013
Yes is better but i have always a small lag from distance
Re: Need help for limit 1000 objects -
Sithis - 08.04.2013
new objects[11000][2]; ?
Oh, dear lord.. you might want to read what ****** had to say about array sizes:
https://sampforum.blast.hk/showthread.php?tid=55261
Re: Need help for limit 1000 objects -
Scenario - 08.04.2013
Quote:
Originally Posted by Stolyse
#define STREAM_CONSTANT 180 (I Already change to 2000 :/)
|
Who in the hell told you to change that to 2000? The maximum you'll ever need to change that value to is ~300, and that's in rare cases.
Re: Need help for limit 1000 objects -
Stolyse - 09.04.2013
I don't use #define 'STREAM_CONSTANT 180' because I have remove script now i use CreateDynamicObject, now it's better but have a small lag with distance consequently what should i do ?
Thank you.
Re: Need help for limit 1000 objects -
Isolated - 09.04.2013
The distance could be a client sided issue aswell, basically, what I mean is, your computer hardware could be outdated, there for causing you issues. I know with my laptop, when I'm only jumping IG for a few minutes, I have to have the drawdistance on the minimum or it just refuses to load properly. But that's a hardware issue not a scripted issue.
Re: Need help for limit 1000 objects -
Stolyse - 09.04.2013
I go to make map with 1200 objects ~ if you have great idea reply
Re: Need help for limit 1000 objects -
Scenario - 09.04.2013
Quote:
Originally Posted by Stolyse
I don't use #define 'STREAM_CONSTANT 180' because I have remove script now i use CreateDynamicObject, now it's better but have a small lag with distance consequently what should i do ?
Thank you.
|
Use the include that was mentioned by Rajat. It SHOULD RESOLVE THE PROBLEM. Just don't set STREAM_CONSTANT to 2000! Set it to something like 250, or 300.
Re: Need help for limit 1000 objects -
Stolyse - 09.04.2013
This don't work (250 - 300) I have tested
Re: Need help for limit 1000 objects -
Stolyse - 10.04.2013
How up the 1000 objects limit (CreateObject) to 2000 objects limit please ? It's my only solution