Raised This Month: $ Target: $400
 0% 

Guns damage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 06-05-2009 , 05:24   Guns damage
Reply With Quote #1

what i can do a more damage for guns ? example: scout 700
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 06-05-2009 , 05:26   Re: Guns damage
Reply With Quote #2

Search.
__________________
xPaw is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 06-05-2009 , 07:05   Re: Guns damage
Reply With Quote #3

not search. , I'm isung this:

PHP Code:
public HamDamage(idinflictorattackerFloat:damagedamagebits

Last edited by ~Ice*shOt; 06-05-2009 at 07:15.
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 06-05-2009 , 07:17   Re: Guns damage
Reply With Quote #4

Quote:
Originally Posted by xPaw View Post
Search.
__________________
xPaw is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 06-05-2009 , 07:21   Re: Guns damage
Reply With Quote #5

Something like this?

PHP Code:
RegisterHam(Ham_TakeDamage"player""player_takedamage");
...
public 
player_takedamage(id)
{
    
swtich(get_user_weapon(read_data(1))
    {
       case 
CSW_SCOUT:
       {
            
set_user_health(idget_user_health(id) - 700)
            return 
HAM_HANDLED;
       }

__________________
minimiller is offline
Send a message via MSN to minimiller
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 06-05-2009 , 07:23   Re: Guns damage
Reply With Quote #6

That was epic
__________________
xPaw is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 06-05-2009 , 07:33   Re: Guns damage
Reply With Quote #7

swtich
xbatista is offline
Send a message via Skype™ to xbatista
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 06-05-2009 , 07:43   Re: Guns damage
Reply With Quote #8

meh
u understand what it was supposed to be
__________________
minimiller is offline
Send a message via MSN to minimiller
Atspulgs
Senior Member
Join Date: Mar 2008
Old 06-05-2009 , 09:47   Re: Guns damage
Reply With Quote #9

hehe that would be a funny "No Scout on server" plugin
__________________
-=DG Ats
DoomedGang web page -
http://www.doomedgang.com
Atspulgs is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 06-05-2009 , 09:54   Re: Guns damage
Reply With Quote #10

You could register post takedamage and set the damage with pev_dmg_take, if it does anything in post. If not - do it in pre and handle the normal damage.
__________________
hleV 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 13:47.


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