Raised This Month: $ Target: $400
 0% 

Improve damage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Legend
Member
Join Date: Mar 2010
Location: Denmark
Old 03-20-2010 , 13:26   Improve damage
Reply With Quote #1

How can I improve damage over all (with all weapons) and how can I do it with a single weapon (Please easiest code to do this!)

Thanks you!
__________________
Legend is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-20-2010 , 13:28   Re: Improve damage
Reply With Quote #2

Look at the source code of a knife extra damage plugin. I've seen three of them out there. Don't just come straight to Scripting Help.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-20-2010 , 13:28   Re: Improve damage
Reply With Quote #3

hook Ham_TakeDamage and change damage value.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Legend
Member
Join Date: Mar 2010
Location: Denmark
Old 03-20-2010 , 13:32   Re: Improve damage
Reply With Quote #4

Quote:
Originally Posted by wrecked_ View Post
Look at the source code of a knife extra damage plugin. I've seen three of them out there. Don't just come straight to Scripting Help.
Link?

Ohh and how can I do a player invisible, I checked some plugins but I can't find the command :S
__________________

Last edited by Legend; 03-20-2010 at 13:39.
Legend is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-20-2010 , 13:41   Re: Improve damage
Reply With Quote #5

Quote:
Originally Posted by Legend View Post
Link?
https://forums.alliedmods.net/showth...t=extra+damage

It's a help section on it. Forgot where I'd seen it before. There's multiple ones. Search extra knife damage.


Quote:
Originally Posted by Legend View Post
Ohh and how can I do a player invisible, I checked some plugins but I can't find the command :S
set_user_rendering
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Legend
Member
Join Date: Mar 2010
Location: Denmark
Old 03-20-2010 , 13:45   Re: Improve damage
Reply With Quote #6

Okay thanks, gotta check it out!
__________________
Legend is offline
Legend
Member
Join Date: Mar 2010
Location: Denmark
Old 03-21-2010 , 15:20   Re: Improve damage
Reply With Quote #7

Hmm, I can't really now fingure out how to do it! Anyone there can make a little tutorial to it?
__________________
Legend is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-21-2010 , 15:25   Re: Improve damage
Reply With Quote #8

What weapon are you trying to increase the damage of?
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT

Last edited by wrecked_; 03-21-2010 at 19:30.
wrecked_ is offline
Old 03-21-2010, 19:30
BolliN
This message has been deleted by BolliN. Reason: srry
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-21-2010 , 19:35   Re: Improve damage
Reply With Quote #9

All Damage Increased:
Code:
#include <amxmodx> #include <hamsandwich> #define EXTRA_DAMAGE    50 public plugin_init() {     register_plugin( "Extra Damage", "1.0", "Wrecked" ) // :avast:         // 0 for pre, 1 for post     RegisterHam( Ham_TakeDamage, "player", "HAM_TakeDamage_Pre" ) } public HAM_TakeDamage_Pre( iVictim, attacker, iInflictor, float:damage, dmgbits ) {     SetHamParamFloat( 4, Float:damage + EXTRA_DAMAGE )         return HAM_IGNORED; }
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ 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 08:41.


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