Raised This Month: $ Target: $400
 0% 

Weapon damage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 01-02-2010 , 03:44   Weapon damage
Reply With Quote #1

I do xp mod and for 19 level i wanna make a weapon with big damage, i using this:

PHP Code:
damage_weaponR13 register_cvar("damage_R13-GF""5.0"); // damage multiplier R13-F

public Ham_DamageR13(idinflictorattackerFloat:damagedamagebits
{
    if (!
IsPlayer(attacker) || !g_Weapon[attacker])
            return 
HAM_IGNORED

    new 
weapon2 get_user_weapon(attacker__);
    if (
weapon2 == CSW_G3SG1)
    {
        
SetHamParamFloat(4damage get_pcvar_float(damage_weaponR13));
        return 
HAM_HANDLED;
    }
    return 
HAM_IGNORED;

but if my level is 19 g3sg1 do normal damage. I need help for this Plsss help!

Last edited by ~Ice*shOt; 01-02-2010 at 13:43.
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 01-03-2010 , 12:49   Re: Weapon damage
Reply With Quote #2

Who can help ?! (
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-03-2010 , 12:53   Re: Weapon damage
Reply With Quote #3

You will get help when you will stop to bump.
__________________
Arkshine is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 01-03-2010 , 12:58   Re: Weapon damage
Reply With Quote #4

You again?

Aren't you getting the point?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 01-03-2010 , 13:02   Re: Weapon damage
Reply With Quote #5

okey i'm stoped bump if you help me.
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 01-03-2010 , 13:04   Re: Weapon damage
Reply With Quote #6

Quote:
Originally Posted by ~Ice*shOt View Post
okey i'm stoped bump if you help me.
Nono, it doesn't work that way...

You learn to script & stop bumping, then if you got questions, we will help you.
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 01-04-2010 , 02:46   Re: Weapon damage
Reply With Quote #7

I learn scripting now..
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
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 04:12.


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