-- One in the Chamber: every life starts with a Magnum and a single round, -- any hit kills, and every kill earns another round; a miss costs the -- round. The Magnum and nothing to pick up, three lives, the first to 25 -- kills wins. --[=[ mode name = "One in the Chamber" mode = "Slayer" [rules] score_to_win = 25 kill_points = 1 death_points = 0 suicide_points = 0 betrayal_points = 0 [options] "rounds.teams" = 0 "rounds.limit" = 1 "rounds.minutes" = 10 "map.weapons" = 11 "map.vehicles" = 1 "player.primary_weapon" = 7 "player.secondary_weapon" = -1 "player.pickup" = 2 "player.grenades" = 2 "player.ammo" = 1 "respawn.lives" = 3 "player.shields" = 1 ]=] alias body = player.object[0] alias kills = player.number[0] alias kill_count = temporaries.number[0] alias rounds = temporaries.number[1] for each player do current_player.set_lethal_damage(true) if current_player.is_not_respawning() and current_player.body != current_player.biped then current_player.body = current_player.biped current_player.set_ammo(1) end kill_count = current_player.get_kill_count() if kill_count != current_player.kills then rounds = current_player.get_ammo() rounds += kill_count rounds -= current_player.kills current_player.set_ammo(rounds) current_player.kills = kill_count end end