Nerses Posted June 14, 2014 Posted June 14, 2014 Hello to everyone. Guys need a script that was banning spam through bind say.
ViRuZGamiing Posted June 14, 2014 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
Et-win Posted June 14, 2014 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.
Nerses Posted June 14, 2014 Author Posted June 14, 2014 I tried to do it myself, but failed, blew and deleted everything. Started in Internet search thought to find:(
ViRuZGamiing Posted June 15, 2014 Posted June 15, 2014 Then try again and if it fails post your code here.
Nerses Posted June 15, 2014 Author Posted June 15, 2014 Then try again and if it fails post your code here. I deleted it...
Moderators Citizen Posted June 15, 2014 Moderators 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.
Nerses Posted June 15, 2014 Author 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
Nerses Posted June 25, 2014 Author 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
Et-win Posted June 25, 2014 Posted June 25, 2014 He want to change the kick to banPlayer for 12 hours. (I think)
Nerses Posted June 26, 2014 Author Posted June 26, 2014 Post your code with the kick function. It is up there with kick
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