Raised This Month: $ Target: $400
 0% 

How to fix the bug that makes any weapon to influence the damage done by the jetpack?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-30-2021 , 08:30   Re: How to fix the bug that makes any weapon to influence the damage done by the jetp
Reply With Quote #7

The spoiler is copy and paste into the AK script. Disregard comment about define. Typo. Meant include.

Highlight this in AK script.

Code:
public fw_TakeDamage(victim, inflictor, attacker, Float:damage)
{
    if ( is_valid_player( attacker ) && get_user_weapon(attacker) == CSW_AK47 && g_HasAk[attacker] )
    {
        SetHamParamFloat(4, damage * get_pcvar_float( cvar_dmgmultiplier ) )
    }
}
Paste entire contents of the spoiler. That's replacement code.
__________________
DJEarthQuake is offline
 



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 11:38.


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