05.07.2013, 16:43
(
Последний раз редактировалось exclide1; 05.07.2013 в 18:36.
)
Well, asides from the health/vehrestor detection due to the god-mode checks. DAMN! Any ideas on how I can prevent it?
EDIT: I tweaked it a little bit and if I remove increasing health after taking 1 point of it, there are no false positives! How could I restore players/vehicle health without triggering the "server-sided" health check? Values are set at the same time
SetPVarFloat(playerid, "faPlayerHealth", gHealth);
SetPlayerHealth(playerid, gHealth);
Yet, it still gives me detection at some times. Why?
EDIT2: Fixed.
EDIT: I tweaked it a little bit and if I remove increasing health after taking 1 point of it, there are no false positives! How could I restore players/vehicle health without triggering the "server-sided" health check? Values are set at the same time
SetPVarFloat(playerid, "faPlayerHealth", gHealth);
SetPlayerHealth(playerid, gHealth);
Yet, it still gives me detection at some times. Why?
EDIT2: Fixed.