Help with weapon autokick message
#1

I am currently running a filterscript that stops players using NV or IR goggles. This script works, but i would like to add a message saying "Playername has been kicked for messing with goggles" when i try do do this with
Код:
new pname[MAX_PLAYER_NAME], string[39 + MAX_PLAYER_NAME];
GetPlayerName(i, pname, sizeof(pname));
format(string, sizeof(string), "%s has been kicked for messing with goggles.", pname);
SendClientMessageToAll(0xFFFF00AA, string);
Then i get this message every second whever i am wearing goggles or not!

The filterscript i am using can be found here

Please can someone tell me what is wrong, or what i need to do to make it send only 1 message when the player gets kicked?

Thanks
Reply


Messages In This Thread
Help with weapon autokick message - by linuxthefish - 20.12.2010, 17:02
Re: Help with weapon autokick message - by admantis - 20.12.2010, 17:09
Re: Help with weapon autokick message - by linuxthefish - 20.12.2010, 17:43

Forum Jump:


Users browsing this thread: 1 Guest(s)