Here's an overlay-on-kill ability that someone was requesting:
PHP Code:
"abilityX"
{
"name" "overlay_on_kill"
"arg0" "4" // Slot. DO NOT CHANGE.
"arg1" "freak_fortress_2/fazbear/puppetdeath" // path to overlay
"arg2" "1" // Duration (0 to show overlay until round end)
"plugin_name" "overlay_on_kill"
}
Installation:
- overlay_on_kill.smx: rename to overlay_on_kill.ff2, then place in plugins>freaks folder
- overlay_on_kill.sp: place in scripting>freaks folder
Changes
v1.1: Fixes "Client index 0 is invalid" errors.
v1.2: Fixed timer not firing for timed overlays
v1.3: Don't fire if victim has feigned death
v1.4: OnGameFrame -> PreThink