1)
PHP Code:
g_ammo[player] += 5
client_print(player,print_chat, "You bought 5 nade for %s", weapon_name);
Dont hardcode this , make a cvar to configurate number of nade , max grenade also .
2)
PHP Code:
if(is_user_alive(id) && !zp_get_user_zombie(id) && get_user_weapon(id) == CSW_AK47 && g_svd[id])
Check this before the
PHP Code:
new button = get_uc(uc_handle, UC_Buttons)
new ent = find_ent_by_owner(-1, "weapon_ak47", id)
new fInReload = get_pdata_int(ent, m_fInReload, 4)
So these won't run if the cases are false.
3) Create a new array of g_weapon to store the weapon data , in CurWeapon event , g_weapon[id] = read_data(2) , don't use lots of get_user_weapon

.Because you don't need those (plrClip, plrAmmo) as well.
4)
PHP Code:
fm_give_item(player,"weapon_ak47")
fm_give_item(player,"ammo_9mm") // remove this
5)
PHP Code:
g_ammo[player] = 5
make a cvar for this :d
6)
PHP Code:
for(new i = 0; i < sizeof fire_sound; i++)
emit_sound(id, CHAN_AUTO, fire_sound[i], 1.0, ATTN_NORM, 0, PITCH_NORM)
What is this ? Play all sound in fire_sound[] ? This should be randomed

.