Using Float:range over whole San Andreas - 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: Using Float:range over whole San Andreas (
/showthread.php?tid=577685)
Using Float:range over whole San Andreas -
Muted - 13.06.2015
Hey, would it be bad (having lag and server performance in mind) if I removed all vending machines across all of San Andreas by using a range of 6000?
Re: Using Float:range over whole San Andreas -
Threshold - 13.06.2015
How about actually trying it and finding out for yourself?
Re: Using Float:range over whole San Andreas -
GuyYahood1 - 13.06.2015
Quote:
Originally Posted by Threshold
How about actually trying it and finding out for yourself?
|
Right!
Re: Using Float:range over whole San Andreas -
Vince - 13.06.2015
Pythagoras theorem says that you need a range of approximately 4243 units from the center of the map.
Re: Using Float:range over whole San Andreas -
Muted - 13.06.2015
Quote:
Originally Posted by Threshold
How about actually trying it and finding out for yourself?
|
That's what I'm doing. I am not asking what range should I use, but what impact on the server's performance it would have if the range is set that high.
Re: Using Float:range over whole San Andreas -
Yashas - 14.06.2015
Removing Vending Machines?There are a fixed number of vending machines in San Andreas.You just need to use the following code to remove them.
Remove Vending Machines scrip by AstonDA-G
http://pastebin.com/cMP21VBZ
Re: Using Float:range over whole San Andreas -
DRIFT_HUNTER - 14.06.2015
Quote:
Originally Posted by Muted
That's what I'm doing. I am not asking what range should I use, but what impact on the server's performance it would have if the range is set that high.
|
On server none...What server does is format message and send it to client...And client is looping thru all objects in range and deletes them...