Jump to content

Cannot set various vehicle HP


Recommended Posts

I need to make simple anticheat system for vehicles. Every second my server does remember body and engine health of a car in two variables. If body/engine health becomes bigger than it was a second ago - it's a cheat and anticheat should reset HP. For example, a second ago engineHealth=500, but now it's 700 without any reasons. Anticheat should set health back to 500

But I can't find way to set various (not just 1000) engine and body health of car using RAGE MP functionality. I'm using native SET_VEHICLE_ENGINE_HEALTH function, but I'm not sure it works - I don't have any trainers to check it, because RAGE MP is blocking any mods

Link to comment
Share on other sites

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