[Help]Virtual Ammo
#8

Quote:

can't really detect the people who don't lose ammo without actually watching them.

Wrong, you can check if player has ammo cheat or not, in 5 easy steps:

1. Get info about current ammo (new ammoStatus1 // just an variable example)
2. Remove 1 bullet from current ammo (ammoStatus1 -= 1)
3. Get info about current ammo (new ammoStatus2 // just an variable example)
4. Compare ammoStatus2 with ammoStatus1
> If they are same > POSSIBLE hack > Recheck! (for 2 times, if all are same, its a hack!)
> If there is less > Ammo gets lower = not hack
> If there is more > playe might buyed a gun or picked it up > Recheck!
5. If everything is okay, return 1 bullet to current ammo.

No time to write the code :P
Reply


Messages In This Thread
[Help]Virtual Ammo - by Blatnoi - 10.12.2010, 18:31
Re: [Help]Virtual Ammo - by Hal - 10.12.2010, 19:49
Re: [Help]Virtual Ammo - by Blatnoi - 10.12.2010, 20:13
Re: [Help]Virtual Ammo - by admantis - 10.12.2010, 23:00
Re: [Help]Virtual Ammo - by Joe Staff - 11.12.2010, 02:57
Re: [Help]Virtual Ammo - by Blatnoi - 11.12.2010, 05:20
Re: [Help]Virtual Ammo - by cessil - 11.12.2010, 05:51
Re: [Help]Virtual Ammo - by TMasters - 11.12.2010, 06:04

Forum Jump:


Users browsing this thread: 1 Guest(s)