AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Weapon damage (https://forums.alliedmods.net/showthread.php?t=114121)

~Ice*shOt 01-02-2010 03:44

Weapon damage
 
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!

~Ice*shOt 01-03-2010 12:49

Re: Weapon damage
 
Who can help ?! :((

Arkshine 01-03-2010 12:53

Re: Weapon damage
 
You will get help when you will stop to bump.

crazyeffect 01-03-2010 12:58

Re: Weapon damage
 
You again?

Aren't you getting the point?

~Ice*shOt 01-03-2010 13:02

Re: Weapon damage
 
okey i'm stoped bump if you help me.

crazyeffect 01-03-2010 13:04

Re: Weapon damage
 
Quote:

Originally Posted by ~Ice*shOt (Post 1041585)
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.

~Ice*shOt 01-04-2010 02:46

Re: Weapon damage
 
I learn scripting now..


All times are GMT -4. The time now is 04:12.

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