I would like to ask some help about this.
How could I equal the static damage value to cvar variable?
public Action Event_OnTakeDamage(int victim, int &attacker, int &inflictor, float &damage, int &damagetype)
if (!attacker || attacker > MaxClients || !IsClientInGame(attacker))
GetClientWeapon(attacker, sWeapon, sizeof(sWeapon));
if(StrContains(sWeapon, "fists", false) != -1)
if (g_iClientFistPhase[attacker] % 3 == 0) damage = 40.0;
else damage = 40.0;
Thank you for advices!
Script from https://forums.alliedmods.net/showth...25#post2730825
Actually what I'd like to do is merge these plugins and add a cvar for change fistsdmg:
Change fists dmg