Inifnite ammo.
#5

I guess there are few ways. The first thing comes to my mind is:

Check in OnPlayerKeyStateChange if the newkeys is KEY_FIRE and if they hold a weapon that it uses ammo (to prevent weapons such as knife etc). When a player shoots, the callback I mentioned will be called so you can get the ammo. The next time will be called again, compare the ammo with the previous you stored somewhere. If the difference is 0, then he's using cheats.
Reply


Messages In This Thread
Inifnite ammo. - by Don_Cage - 11.09.2013, 10:19
Re: Inifnite ammo. - by JimmyCh - 11.09.2013, 10:50
Re: Inifnite ammo. - by Don_Cage - 11.09.2013, 10:51
Re: Inifnite ammo. - by Isolated - 11.09.2013, 10:52
Re: Inifnite ammo. - by Konstantinos - 11.09.2013, 11:04

Forum Jump:


Users browsing this thread: 5 Guest(s)