Posts: 170
Threads: 10
Joined: Sep 2011
Hi. Russians made sob version with two options: DisableOnFootData and DisableWeaponData. With this two options cheater can spawn any weapon and when he enter vehicle he can shot from this vehicle by drive thru (H key). Anybody knows how to detect it? GetPlayerWeapon is not working, i'm trying detect it by reason i onplayerdeath but with no result.
Posts: 170
Threads: 10
Joined: Sep 2011
By this way i can block only shooting by H. I can't block it for all players on server, gang without possible to DT is not gang.
Posts: 1,239
Threads: 16
Joined: Mar 2011
Reputation:
0
Well you have variables to check if someone is in Gang. Just add if statement for that, too.
Posts: 170
Threads: 10
Joined: Sep 2011
No other way to detect that weapon?
Posts: 1,099
Threads: 79
Joined: Nov 2011
Reputation:
0
On the new versions of that cheat, OnPlayerTakeDamage is not called too.
Posts: 170
Threads: 10
Joined: Sep 2011
Quote:
Originally Posted by Rittik
Under OnPlayerUpdate
pawn Код:
if(GetPlayerWeapon(playerid) == 38) // "38" is for minigun, you can add any illegal weapon id here to check. { Kick(playerid); }
|
GetPlayerWeapon is not working when u use this cheat.
Posts: 170
Threads: 10
Joined: Sep 2011
I'm trying to detect it by getting player animation (drive by anim) but it's not working in vehicles -.-.
Any other ideas?