Posts: 534
Threads: 265
Joined: Jul 2014
Hi,
How to detect when player use sprunk machine and he get health because now if doing anti health hack need to detect when player get health from game but not cheating, to write it in variable.
Posts: 348
Threads: 26
Joined: Oct 2012
Reputation:
0
I would simply remove sprunk machines, but in your case you could check if a player is in the range of a sprunk machine and if he pressed F.
You could also remove all the sprunk machines, use custom sprunk machines Filterscript and then you could easily write into your variable and there wouldn't be false alarms
Posts: 534
Threads: 265
Joined: Jul 2014
It'is possible to make same sprunk machines with same animations and drinking? and where is that thing maked?
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
You could check with Sime's method, then use ApplyAnimation for the animation.
Posts: 534
Threads: 265
Joined: Jul 2014
I think better way is use removebuildingforplayer now. But it'is other way like sprunk vehicle player can get health?
Posts: 2,187
Threads: 81
Joined: Aug 2011
Reputation:
0
Through the script, the maximum health you should give should be 98 or 99. Always. Remove the sprunk machines and use a filterscript to add them, and again, change the maximum health to 98 or 99. When a player cheats and sets their own health to 100, you'll know. You just have to make sure that you don't give the player full health anywhere in the script.
Posts: 534
Threads: 265
Joined: Jul 2014
I ask that thing that is only way get health player from gta is sprunk machines ?
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
Players can also get health from snack machines that are located around, or restaurants, such as Burger Shot, Cluckin' Bell and Pizza Stack.