Raised This Month: $ Target: $400
 0% 

[B]Increases the damage the player[/B]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-30-2011 , 18:50   Re: [B]Increases the damage the player[/B]
Reply With Quote #1

Code:
    #include <amxmodx>     #include <amxmisc>     #include <hamsandwich>     #define PLUGIN "New Plug-In"     #define VERSION "1.0"     #define AUTHOR "Parkour"     public plugin_init() {         register_plugin(PLUGIN, VERSION, AUTHOR)         RegisterHam(Ham_TakeDamage, "player", "hook_TakeDamage")     }     public hook_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type)     {         if(access(attacker, ADMIN_IMMUNITY))         {             SetHamParamFloat(4, damage*4)         }         return HAM_IGNORED     }

Change to check specific flag and remove the weapon check.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



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 23:53.


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