Igor_Ryaboff

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.