Jump to content

Search the Community

Showing results for tags 'swear'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 2 results

  1. i added this lines to my admintag script, but...doesn't working. no errors/warnings in debugscript 3 :'s settings = { ['antiswear'] = { ['enabled'] = true, ['swears'] = { ['asshole'] = '*******', [':O'] = '****', ['slut'] = '****', ['bitch'] = '*****', [':O'] = '****', ['whore'] = '*****', ['pussy'] = '*****', [':O'] = '***', ['perro'] = '*****', ['puta'] = '****', ['joder'] = '*****' } } } if settings['antiswear']['enabled'] then for i, v in pairs(settings['swearFilter']['swears']) do while msg:lower():find(i:lower(),1,true) do local start, end_ = msg:lower():find(i:lower(),1,true) local found = msg:sub(start,end_) msg = msg:gsub(found,v) end end end what wrong? how to fix this?
  2. function csunyaszavak(message,messageType) if message == "buzi" or message == "fasz" or message == "geci" or message == "kurva" or message == "baszd" or message == "bazd" or message == "bazmeg" or message == "nyomorék" or message == "csicska" or message == "anyád" or message == "pina" then setPlayerMuted( source, true ) gPlayerMuteTimer[ source ] = setTimer( unmutePlayer, gSettings.muteTime * 1000, 1, source ) outputChatBox( "#14B866[M] #FF699CPlaybot#898395: #808080Ne káromkodj a chaten! (#ffFFff"..getPlayerName(source).."#808080) (mute)", root, 255, 0, 0, true ) end end addEventHandler("onPlayerChat",getRootElement(),csunyaszavak) When i type in chat for example "f*sz", the script mute me. But, when i type for example "te f*sz", the script doesn't mute me. Why? How to fix this?
×
×
  • Create New...