Raised This Month: $ Target: $400
 0% 

More harm with weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Debesėlis
Senior Member
Join Date: Aug 2008
Location: Lithuania
Old 08-10-2009 , 19:42   More harm with weapons
Reply With Quote #1

Possible that a player could do more harm? Maybe someone have code?
Debesėlis is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-10-2009 , 20:47   Re: More harm with weapons
Reply With Quote #2

It's called Damage Multiplier.
Search for plugins with this.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Debesėlis
Senior Member
Join Date: Aug 2008
Location: Lithuania
Old 08-11-2009 , 05:22   Re: More harm with weapons
Reply With Quote #3

How do I determine how much injury...? maybe "ArrayGetCellg_aDamageMultipliers" does not need?

PHP Code:
public event_multiply_damage(victiminflictorattackerFloat:damagedamage_type)
{
    if ( 
get_user_flags(id) & ACCESS )
    {
        if ( 
weapons_active[id] == )
        {
            
SetHamParamFloat(4damage ArrayGetCell(g_aDamageMultipliersPlayerLevels[attacker]))
        {
    }

Debesėlis is offline
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 08-11-2009 , 21:16   Re: More harm with weapons
Reply With Quote #4

"damage" is the original amount of damage. You can change it to anything you want in that last part.

PHP Code:
SetHamParamFloat(4,1337.0
__________________
Bad_Bud is offline
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 18:27.


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