Jump to content

antispam help


5150

Recommended Posts

  • Moderators

There is another solution, open in your admin tag resource, the serverside file:

https://wiki.multitheftauto.com/wiki/WasEventCancelled

https://wiki.multitheftauto.com/wiki/OnPlayerChat

When the event onPlayerChat gets executed, use this:

if not wasEventCancelled() then 
-- all other code inside that function 
end 

It will checks if the the event was cancelled. If it is not cancelled, then show the admin tags.

(if the event "onPlayerChat" is cancelled, the typed text doesn't get added in to the chatbox)

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...