View Single Post
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 01-29-2018 , 06:49   Re: Spam Blocker v3.6
Reply With Quote #344

Quote:
Originally Posted by kruger View Post
hy, I want to gag the player instead of kicking him.
I tried change amx_kick with amx_gag but for some reason the user is not gagged???

Code:
case 2: {
			server_cmd ("amx_kick ^"%s^" ^"AUTOKICK: Spam%s^"", szName, ins)
			if (get_pcvar_num (notify) == 2) {
				server_cmd ("amx_chat ^"%s has been kicked for message: %s^"", szName, text)
with

Code:
case 2: {
			server_cmd ("amx_gag ^"%s^" ^"GAG: Spam%s^"", szName, ins)
			if (get_pcvar_num (notify) == 2) {
				server_cmd ("amx_chat ^"%s has been gagged for message: %s^"", szName, text)
Maybe it should be a client command????
Use default version and Simply use warn.ini in it instead of kick.ini

It will block msgs.
And Will Warn Spaming Is Not Allowed ..!!

Last edited by Alber9091; 01-30-2018 at 11:42.
Alber9091 is offline