Raised This Month: $ Target: $400
 0% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
K o T
Senior Member
Join Date: Jan 2011
Old 07-30-2011 , 17:29   [B]Increases the damage the player[/B]
Reply With Quote #1

Code:
    #include <amxmodx>     #include <amxmisc>     #include <hamsandwich>     #include <fun>     #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(is_user_admin(attacker))         {             new Gun = get_user_weapon(attacker)             if(Gun == CSW_KNIFE)             {                 SetHamParamFloat(4, damage*4)             }         }         return HAM_IGNORED     }



how to make weapons of any great damage was not only a knife and only for admins ADMIN_IMMUNITY if(Gun == CSW_ALL)
K o T 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 23:53.


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