bandi94 Posted July 6, 2011 Posted July 6, 2011 i downloaded the anti_flood form comunity but if players writ a msg 2 times they get a warning and if they type again the text normaly need to get muted but they get 5-6 warnings and .... they spam ( i set maximum msg to 2 ) so i decided to make my own antispam but i used "onPlayerChat"....... local msg =getPlayerMessage but msg returns nil what function can i use to get the message (text) they write.? Ingame Name : |DGT|Puma DGT Clan Server 24/7 Owner/Scripter MultiGameMode in progress :
JR10 Posted July 6, 2011 Posted July 6, 2011 addEventHandler("onPlayerChat", root, function(msg, msgType) msg is defined as the message the player typed. Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
bandi94 Posted July 6, 2011 Author Posted July 6, 2011 thx Ingame Name : |DGT|Puma DGT Clan Server 24/7 Owner/Scripter MultiGameMode in progress :
JR10 Posted July 6, 2011 Posted July 6, 2011 No problem. Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now