Yazir Posted February 4, 2017 Share Posted February 4, 2017 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? Link to comment
Mr.Loki Posted February 4, 2017 Share Posted February 4, 2017 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. 1 Link to comment
Yazir Posted February 4, 2017 Author Share Posted February 4, 2017 Oh. So it has to be serverside. Thanks! Link to comment
Yazir Posted February 4, 2017 Author Share Posted February 4, 2017 (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 February 4, 2017 by Yazir Link to comment
Einheit-101 Posted February 4, 2017 Share Posted February 4, 2017 These functions work with elements that are synced by said client Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now