Friendly Fire On Before map end

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Friendly Fire On Before map end

Post by greenie »

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
Post Reply

Return to “Fun Stuff”