20.12.2010, 17:02
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
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
Код:
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);
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