Help Please
#1

Anyone knows how to do this Health Bar which is the same as Anti Cheat or Anti Hack? ( It prevents the player on performing Health Hacking also it blocks the real Health Bar )

Reply
#2

I believe its called server sided health system , you can search it up
Reply
#3

Here, https://sampforum.blast.hk/showthread.php?tid=505585
also for textdraws,
https://sampforum.blast.hk/showthread.php?tid=536740
Reply
#4

I know it was a server sided health system. I tried to search it up but nothing works.

Anyone can help?
Reply
#5

You mean to say server sided system is not working for you? then what are the errors or problems are you having?

I gave you link to a simple server sided health system and a TextDraw Tutorial. only what you have to do is, to set TextDraw's value according to health under OnPlayerTakeDamage.
Reply
#6

Quote:
Originally Posted by GTLS
Посмотреть сообщение
You mean to say server sided system is not working for you? then what are the errors or problems are you having?

I gave you link to a simple server sided health system and a TextDraw Tutorial. only what you have to do is, to set TextDraw's value according to health under OnPlayerTakeDamage.
The link you send is not working on my script. I tried to fix but still not working. Anyone can help?
Reply
#7

https://sampforum.blast.hk/showthread.php?tid=204399
https://sampforum.blast.hk/showthread.php?tid=488822 - This one's a tutorial for Anti Health Hack System, and Server sided health is the base of it so.. you might wanna check it out..


Quote:
Originally Posted by Istrator
Посмотреть сообщение
The link you send is not working on my script. I tried to fix but still not working. Anyone can help?
No one's gonna give you a ready made script here, you will have to mess with PAWN to make yourself one. Just saying that include is not working and lazy-ing out scripting isnt gonna help buddy.. If there are some errors or no errors but its not working In Game, what is it that you did to debug it or to solve it? May be show us the code you made..
Reply
#8

Quote:
Originally Posted by GTLS
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=204399
https://sampforum.blast.hk/showthread.php?tid=488822 - This one's a tutorial for Anti Health Hack System, and Server sided health is the base of it so.. you might wanna check it out..




No one's gonna give you a ready made script here, you will have to mess with PAWN to make yourself one. Just saying that include is not working and lazy-ing out scripting isnt gonna help buddy.. If there are some errors or no errors but its not working In Game, what is it that you did to debug it or to solve it? May be show us the code you made..
Maybe I'll send the code of mine once I hand my PC again. ( Currently using my phone ).
Reply
#9

how to even scripted those things when you dont know anything about server sided health?
Reply
#10

Quote:
Originally Posted by GTLS
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=204399
https://sampforum.blast.hk/showthread.php?tid=488822 - This one's a tutorial for Anti Health Hack System, and Server sided health is the base of it so.. you might wanna check it out..




No one's gonna give you a ready made script here, you will have to mess with PAWN to make yourself one. Just saying that include is not working and lazy-ing out scripting isnt gonna help buddy.. If there are some errors or no errors but its not working In Game, what is it that you did to debug it or to solve it? May be show us the code you made..
This link » https://sampforum.blast.hk/showthread.php?tid=488822 only detects when a player reaches the limit of their health and armour but doesn't detect if a player uses a Health Hack or Armour Hack that can be increased manually without reaching the maximum limit of their health.

This link » https://sampforum.blast.hk/showthread.php?tid=204399 works well but the Functions aren't useful. I need like I'll change "SetPlayerHealth" to "SetPlayerHealthEx" or "SetPlayersHealthEx" so that hackers can't perform health hacks.

Here's one example of anti-cheats I'm using:
https://sampforum.blast.hk/showthread.php?tid=319800

Check that "ServerWeapon" which replaced the "GivePlayerWeapon" and detects a player when it uses a weapon made from GivePlayerWeapon not in ServerWeapon.

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
how to even scripted those things when you dont know anything about server sided health?
I know about server sided health, just learning more about SA-MP. ( I need help not preach :P )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)