switch (PlayerLevel[id]) { case 0: give_item (id, "weapon_glock18"); case 1: give_item (id, "weapon_usp"); case 2: // Etc... }