Posts: 14
Threads: 2
Joined: Aug 2010
Reputation:
0
This is basically what bothers me. If I try to detect a player being shot but not losing HP, the only appropiate callback I could think of is OnPlayerGiveDamage, however this is not synced. (Basically when you shoot someone on your screen without lagshoot, a player with a reasonably high ping doesn't see him getting hit at all) What I need is a way to check if someone gets hit but doesn't lose HP. OnPlayerTakeDamage is not an option, because this doesn't get called at all as the player doesn't lose HP.
Posts: 379
Threads: 51
Joined: Dec 2010
Reputation:
0
Try callback OnPlayerShootPlayer
Posts: 2,421
Threads: 52
Joined: Mar 2009
Reputation:
0
I don't think there will be a way to detect it, if they don't take damage, at least not accurately. Before the callbacks OnPlayerTake/GiveDamage were implemented, it was difficult to detect if a player is being shot even if they lost health.
I would also be interested if someone knows of a way to do this accurately.
Posts: 14
Threads: 2
Joined: Aug 2010
Reputation:
0
It's probably not possible.
Posts: 3
Threads: 1
Joined: Sep 2012
Reputation:
0
It's not possible but SAMP need a update for detect this cheat
Posts: 79
Threads: 12
Joined: Dec 2012
Reputation:
0
Yes, as they told, seems not possible. But if they update to detect this cheat, there will be a problem related to lag, since you shoot on another player and there not damage is taken from him.
Posts: 3
Threads: 1
Joined: Sep 2012
Reputation:
0
If SAMP not help, it's not possible to detect this cheat. 2 years that i play and cheat us always bothered