I found problems using the plugin made by "OLO" (sometimes it did not kick the player even though I was watching the ping and was always above the allowed), so I decided to give a little update and modify some things, making clear to the administrators of the site that I am posting just for help if anyone else goes through this.
Oh sure, I accept constructive criticism :D
Notes about changes/updates:
The plugin made by OLO uses dynamic number of arguments in its functions, and for some reason was failing (at least with me), so I made a small update on the way the tasks are created, passing the task ID correctly so as not to confuse with the ID of the player and I modified the cvar for pcvars (this does not make much difference, but who is updating one thing already avails and updates another.)
Servers using this plugin:
* AMXX >= 1.10
* Compile locally
~> Again, I thank "OLO" for the plugin originally produced, and SmileYzn for countless aids.
Please send your translations through this link
Portuguese - iceeedR
English - iceeedR
Spanish - Rivotril
Romanian - Nutu_
Serbian - ^G[L]A^~Yuki
Slovak - Belo95135
German - Mordekay
Turkish - Snake
Hungarian - Hembi
Albanian - lantimilan
Simplified chinese - all85100
Russian - SomewhereLost
Albanian - edon1337
* First release
* Fully upgraded to amxx 1.9.
* new natives from amxx 1.9 used
* AutoExecConfig Added to plugin
* AutoExecConfig removed since it was added to the new amxx.
* Fixed a typo.
* Fixed use of native bind_pcvar_ *
* Added language file
* Added 2 cvars "Admin immunity" and "Notification filter"
* Changed .cfg creation path
* Added to log the kick message.
* Small bugs fixed like the cvar "amx __..." (contained 2 underlines), please delete the newpingkicker.cfg and use the new file created.
0.8 [02/01/2019] - Considering only minor adjustments there will be no change of build
* Added variable to create log or not of kicked players.
* Corrected the notification method so that it is always updated with the value of the cvar.
* Minor Adjustments
* Clean and remove unnecessary code
* Removed the command amx_hpk, in view of the use of CFG.
* Added a filter for the immunity flag to admin.
* Little fixes
* Fixed some typos
1.3 [10/01/2020] - And probably the final version.
* Fixed language formatting when kicking.
1.4 [23/08/2021] - Final Version (No bug reporting)
* Small optimization in creating cvars.
1.5 [03/09/2021] - Minor adjustments for approval
1.5.1 [20/10/2021] - Updated LANG.
* Logic redone after some reports that if a player got lag after some time without lag, the average was not correctly applied.
* No need to redownload lang or delete the cfg file.
Keep in mind the need to delete the old "NewPingkicker" cfg so that it can be generated the updated one.