
Return a string to use that icon, return false to not use an icon (default).Ĭalled when the round is set. Admins by defualt have the "icon16/shield.png" icon. If you don't return anything, it will default to Color(255, 255, 255, 255) (white).Ĭalled to get an icon to show on the scoreboard- must be a png. Return a color to change it for this player. The player amount is multiplied by this number, then rounded down.Ĭalled to get the color of a player on the scoreboard. Percentage of total players that will become a death. If set to 1, when one player enters another, they will be pushed apart.ĭr_death_rate (default: 0.25, minimum: 0.1, max: 0.9) Notify everyone on the server how many rounds are left as the prep phase begins. If set to 0, the fall damage will be 10, regardless of speed or height. If set to 1, players will be damaged based on the speed at which they fall.

If set to 0, players on the Death team will be unable to pick up any weapons aside from the crowbar. This won't work with default HL2 weapons. If set to 1, primary ammo will not be taken when players shoot weapons. If set to 0, players will not autojump by holding down their spacebar (regardless if they have it enabled/disabled). If set to 0, nothing will happen with use of the command. If set to 1, "Deaths" will be able to kill themselves with the use of the "kill" command. The amount of rounds to play before a map change. If set to 1, admins will be highlighted gold on the scoreboard and also have a shield icon. Deathrun maps start with either "deathrun_" or "dr_" To save the weapon, look at it and type "dr_save_weapon" in your console.ĭon't forget to download some maps you can play! There are a lot you can find just by doing a Google search. Look to where you want it to spawn, and type in your console "dr_add_weapon weapon_name" - you MUST be a superadmin to do this. To do this, join the map you want to place weapons on. If you don't want to do this, you can of course have the gamemode spawn the weapons, but this means you will have to place them all manually. The gamemode does NOT spawn the weapons automatically, the map does!

For example, if you have a weapon_real_cs_ak47, rename it to weapon_ak47 to be used. If you want to have weapons, download a weapon pack and name them that of the CS:S weapons.

This !does not! have any weapons by default. I apologize to all of those that have used it.ĭrop the "deathrun" folder inside /Server/orangebox/garrysmod/gamemodes/ That gamemode was just to help me learn more about Lua, and is just awful. I made this gamemode because I felt bad people were using my old shitty one that I released. Hey! You've downloaded a deathrun gamemode, good job being able to click the download button.
