Jump to content
  • 0

Anti-cheat problem


Wisin

Question

Posted

Does anyone know how i can disable the MTA Anti-cheat? i have a script that cancells the damage between players so we cant kill eachother, thanks.

12 answers to this question

Recommended Posts

  • 0
Posted

Your script that "cancels damage between players" involves using setElementHealth within the onClientPlayerDamage event?

addEventHandler("onClientPlayerDamage", getLocalPlayer(), function() setElementHealth(source, 1000) end) 

The above will result in being kicked from the server.

If you want to disable player damage do:

addEventHandler("onClientPlayerDamage", getLocalPlayer(), function() cancelEvent() end) 

  • 0
  • MTA Team
Posted

Please tell us:

1. Windows or Linux?

2. Server version ( type 'sver' in the console )

3. Please copy and paste your mtaserver.conf here

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...