[FilterScript] AntiPing by hustrine - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] AntiPing by hustrine (
/showthread.php?tid=426780)
AntiPing by hustrine -
hustrine - 30.03.2013
Hi everyone! So i create new FilterScript! This filterscript kick player from server if her ping is too much!
So get him and use!
Pastebin:
http://pastebin.com/wZ50m3qM
Solidfiles:
http://www.solidfiles.com/d/efc0214f0a/
P.S. Sorry for my bad english. ;(
Re: AntiPing by hustrine -
Neil. - 30.03.2013
I've peeked into the source code and I've to say it could've been more advanced. Some advanced features could be inserted in there.
For ex:
- Saving to a .txt file
- /setping [ping] for Administrators to use or perhaps dialogs?
Also your Thread could use a more "professional" design or at the least could pack some useful information and as for the script, It's a good thing you're not using OPU on such a trivial detail. Again this is just common. Nevertheless, Good Job
Re: AntiPing by hustrine -
valii2pac - 30.03.2013
Good job man! It's ok for servers hosted by host with low-cost (low fps).
Re: AntiPing by hustrine -
hustrine - 30.03.2013
Thanks guys.
Re: AntiPing by hustrine -
wups - 30.03.2013
pawn Код:
SetTimer( "Kicked", 100, false );
WRONG! This will always kick playerid 0.
Re: AntiPing by hustrine -
Yiin - 30.03.2013
So, this fs will create 500 timers in full server? Yeah, cool.
Re: AntiPing by hustrine -
RajatPawar - 30.03.2013
Ken97, a /setping is impossible.
Re: AntiPing by hustrine -
hustrine - 31.03.2013
Quote:
Originally Posted by Yiin
So, this fs will create 500 timers in full server? Yeah, cool.
|
So i can use SetTimerEx?
Re: AntiPing by hustrine -
Konstantinos - 31.03.2013
Quote:
Originally Posted by Rajat_Pawar
Ken97, a /setping is impossible.
|
He meant a command to set the max ping the server allows. It's indeed impossible to set players' ping!
Re: AntiPing by hustrine -
Yiin - 01.04.2013
Quote:
Originally Posted by hustrine
So i can use SetTimerEx?
|
global timer with foreach loop is better for performance.