Raised This Month: $208 Target: $400
 52% 

FF2 [Subplugin] Overlay-on-Kill


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SHADoW NiNE TR3S
AlliedModders Donor
Join Date: Jul 2014
Location: Nepu Nepu?
Old 06-05-2015 , 04:00   [Subplugin] Overlay-on-Kill
Reply With Quote #1

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
Attached Files
File Type: sp Get Plugin or Get Source (overlay_on_kill.sp - 440 views - 3.2 KB)
File Type: smx overlay_on_kill.smx (7.1 KB, 602 views)
__________________

Last edited by SHADoW NiNE TR3S; 10-13-2015 at 16:03.
SHADoW NiNE TR3S is offline
Send a message via AIM to SHADoW NiNE TR3S Send a message via Skype™ to SHADoW NiNE TR3S
Maximilian_
Veteran Member
Join Date: Oct 2014
Old 06-05-2015 , 07:10   Re: [Subplugin] Overlay-on-Kill
Reply With Quote #2

Amazing! Thank you
Maximilian_ is offline
SHADoW NiNE TR3S
AlliedModders Donor
Join Date: Jul 2014
Location: Nepu Nepu?
Old 10-13-2015 , 16:04   Re: [Subplugin] Overlay-on-Kill
Reply With Quote #3

Just a minor reliability update done, and removed unused Debug code. Final version if there is no bugs reported.
__________________

Last edited by SHADoW NiNE TR3S; 10-13-2015 at 16:10.
SHADoW NiNE TR3S is offline
Send a message via AIM to SHADoW NiNE TR3S Send a message via Skype™ to SHADoW NiNE TR3S
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:14.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode