Raised This Month: $ Target: $400
 0% 

[Subplugin] Temp Melee Weapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Blinx
Senior Member
Join Date: Oct 2013
Old 04-15-2016 , 09:05   [Subplugin] Temp Melee Weapon
Reply With Quote #1

Freak Subplugin: Temp Melee Weapon

A plugin to temporarily grant the boss a different melee weapon, and then give them back a different one at the end of the duration.

PHP Code:
    "abilityX"
    
{
        
"name"            "rage_tempMelee"

        "arg1"            "2 ; 3.0 ; 68 ; 2 ; 6 ; 0.5" 
//Temp melee attributes
        
"arg2"            "saxxy" //Temp melee classname
        
"arg3"            "1071" //Temp melee index

        
"arg4"            "10.0" //Duration

        
"arg5"            "2 ; 3.0 ; 68 ; 2" //Return melee attributes
        
"arg6"            "tf_weapon_fists" //Return melee classname
        
"arg7"            "5" //Return melee index

        
"plugin_name"     "ff2_tempMelee"
    

Installation:
  • Place ff2_tempMelee.smx in sourcemod\plugins\freaks and change the extension to .ff2
  • Place ff2_tempMelee.sp in sourcemod\scripting
Attached Files
File Type: smx ff2_tempMelee.smx (8.0 KB, 589 views)
File Type: sp Get Plugin or Get Source (ff2_tempMelee.sp - 475 views - 3.0 KB)
Blinx is offline
 



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 21:09.


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