Thanks Jim

Your the greatest . I had to use magic numbers (cstrike enumeration numbers) for the other function. But it is way more efficiant then the way I had it .
So my last questions are , What is cuasing the fatal errors . And I need a way to convert my current ammo and weapon index system, into a multi-dimensional array or enum or something. But I have never used them , I need to store the g_WeaponENt(index)[ammo in gun] .