Raised This Month: $32 Target: $400
 8% 

Suggestion / Subplugin Request [Request] ZP Survivor Damage Multiplier


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gam3ronE
SourceMod Donor
Join Date: Aug 2010
Old 10-30-2011 , 16:05   [Request] ZP Survivor Damage Multiplier
Reply With Quote #1

Zombie Plague Survivor Damage Multiplier

It should give a 2x damage multiplier to the survivors. The multiplier should apply to all rounds with survivor so Survivor and Plague modes. The double damage will make life easier for the Survivors. This plugin is simple and useful.
Gam3ronE is offline
plowed
Senior Member
Join Date: Oct 2010
Location: germany
Old 10-30-2011 , 17:57   Re: [Request] ZP Survivor Damage Multiplier
Reply With Quote #2

try

PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <zombieplague>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Administrator"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
RegisterHamHam_TakeDamage"player""survivorDmg" )
}

public 
survivorDmg(VictimInflictorAttackerFloat:DamageDamageBits ) {
    if(
zp_get_user_survivor(Attacker))
        
SetHamParamFloat 4Damage )

__________________
Zombie Mod + gameMe stats :
plowed is offline
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 20:24.


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