Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
I've already done a Anti-Money Hack, Anti-Health Hack and Anti-Armour Hack and it works good.
How about Anti-Weapon Hack, How do you make it?
Any example codes?
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
That is a simple anti-weapon hack it could ban innocent players who are RPing with their weapons.
Posts: 340
Threads: 56
Joined: Jul 2012
Reputation:
0
It's hard to make anti-weapon hack, specially because it has ammo which lowers every time you shoot.
You'd need to somehow sync the weapon and ammo seperately, lower ammo OnPlayerWeaponShot, but then again if ammo reaches 0 you'd have to reset that weapon..
Posts: 463
Threads: 83
Joined: Aug 2013
Reputation:
0
TIP :
s0b3it is using this code
GivePlayerWeapon
and in horizon roleplay
they use this code
GivePlayerValidWeapon
so that if anyone use a weapon cheat they will be auto-banned
+rep if i help