new tmp = GetPlayerWeaponState(playerd);if(tmp == WEAPONSTATE_NO_BULLETS) { //player has no ammo}//https://sampwiki.blast.hk/wiki/GetPlayerWeaponState