Question about incoming connections. - 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: Question about incoming connections. (
/showthread.php?tid=570736)
Question about incoming connections. -
Stoyanov - 12.04.2015
How to do a limit on the incomming connections per 2 seconds?
Example: 2 players from different ip are connecting to the server on same second. I want the second player to be ignored.
How to do this?
EDIT: Will function
OnIncomingConnection help me?
Re: Question about incoming connections. -
Awdratai - 12.04.2015
You need to change your server configuration, here is
link there is something like
minconnectiontime but it's set to 1 second by default. If you change it, remember you need to set it in miliseconds, 1000 miliseconds = 1 second.