Nerses Posted June 14, 2014 Share Posted June 14, 2014 Hello to everyone. Guys need a script that was banning spam through bind say. Link to comment
ViRuZGamiing Posted June 14, 2014 Share Posted June 14, 2014 Hello to everyone. Guys need a script that was banning spam through bind say. No requests in this part of the forum, we don't do free scripts we help when your script is bugged or wrong. Mostly a script request costs money too. try learn LUA instead. Regards Viruz Link to comment
Et-win Posted June 14, 2014 Share Posted June 14, 2014 Make it yourself, or download it from https://community.multitheftauto.com/ Though, I advise you to learn to make it by yourself. Link to comment
Nerses Posted June 14, 2014 Author Share Posted June 14, 2014 I tried to do it myself, but failed, blew and deleted everything. Started in Internet search thought to find:( Link to comment
ViRuZGamiing Posted June 15, 2014 Share Posted June 15, 2014 Then try again and if it fails post your code here. Link to comment
Nerses Posted June 15, 2014 Author Share Posted June 15, 2014 Then try again and if it fails post your code here. I deleted it... Link to comment
Moderators Citizen Posted June 15, 2014 Moderators Share Posted June 15, 2014 Took me 2 minutes to find an anti-spam on the resource community center: https://community.multitheftauto.com/ind ... ls&id=2537 It mute the spammer for 1 minute if the guy sent 2 messages in less that 1 seconde. You can modify it to kick the guy. Link to comment
Nerses Posted June 15, 2014 Author Share Posted June 15, 2014 Took me 2 minutes to find an anti-spam on the resource community center:https://community.multitheftauto.com/ind ... ls&id=2537 It mute the spammer for 1 minute if the guy sent 2 messages in less that 1 seconde. You can modify it to kick the guy. thank you Link to comment
Nerses Posted June 25, 2014 Author Share Posted June 25, 2014 As of mute to do ban for 12 hours? antiSpam = {} function antiChatSpam() if isTimer(antiSpam[source]) then cancelEvent() setPlayerMuted(source, true) setTimer ( autoUnmute, 4000, 1, source) else antiSpam[source] = setTimer(function(source) antiSpam[source] = nil end, 300, 1, source) end end addEventHandler("onPlayerChat", root, antiChatSpam) function autoUnmute ( player ) if ( isElement ( player ) and isPlayerMuted ( player ) ) then setPlayerMuted ( player, false ) end end Link to comment
Et-win Posted June 25, 2014 Share Posted June 25, 2014 He want to change the kick to banPlayer for 12 hours. (I think) Link to comment
Castillo Posted June 26, 2014 Share Posted June 26, 2014 Post your code with the kick function. Link to comment
Nerses Posted June 26, 2014 Author Share Posted June 26, 2014 Post your code with the kick function. It is up there with kick Link to comment
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