Friendly Fire On Before map end
Posted: Tue Nov 23, 2021 7:33 am
Made by request of Ðiego ( http://forums.alliedmods.net/showthread.php?t=54622 )
This plugin turns friendlyfire on and will respawn you if you die after it is turned on during the last x seconds of the map.
Cvars:
ff_message <message to be displayed. Max of 256 characters> (Default: "FF ON! KILL 'EM ALL!!")
ff_time <length of ff on time> (Default: 60.0)
ff_revive <1/0> (Default 1/On) (Whether or not to revive players. If using CSDM, set this to 0)
When the player is revived, they are given their teams pistol, a knife, and a mp5.
The plugin plays a sound when ff is turned on. It is defaulted to misc/killingspree.wav. To change it, you need to edit this line to the location of the file within the sound folder (must be a .wav or a .mp3 file)
Code:
#define SOUND "misc/killingspree.wav"
plugin
This plugin turns friendlyfire on and will respawn you if you die after it is turned on during the last x seconds of the map.
Cvars:
ff_message <message to be displayed. Max of 256 characters> (Default: "FF ON! KILL 'EM ALL!!")
ff_time <length of ff on time> (Default: 60.0)
ff_revive <1/0> (Default 1/On) (Whether or not to revive players. If using CSDM, set this to 0)
When the player is revived, they are given their teams pistol, a knife, and a mp5.
The plugin plays a sound when ff is turned on. It is defaulted to misc/killingspree.wav. To change it, you need to edit this line to the location of the file within the sound folder (must be a .wav or a .mp3 file)
Code:
#define SOUND "misc/killingspree.wav"
plugin