public OnCUSP_PrimaryAttack_P( iUSP ) { if( cs_get_weapon_ammo(iUSP) > 0 ) { set_pdata_int(iUSP, m_iShotFired, 0, XO_CBASEPLAYERWEAPON); } }