Jump to content

Using functions as setElementHealth clientside


Yazir

Recommended Posts

Posted

Hello there. I have been wondering if using functions like setElementHealth clientside is safe and if not, why there is such function for client and would it be effective with connection to serversided anti-cheat?

 

Posted

I've tried this already and what happened is:

I made something server side and set the health to 100.

Then i set the health of that object to 50 on client side

I then attacked the element and the health went back to the server side's health minus the damage.

It's safe.

  • Like 1
Posted (edited)

@loki2143

I've checked it today and it seems like even after changing HP serverside, clientside still works normally. It still changes hp.

It's not a problem but just saying.

Edited by Yazir

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