Quote:
Originally Posted by kruger
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 ..!!