Raised This Month: $51 Target: $400
 12% 

Hegrenade Damage!


Post New Thread Reply   
 
Thread Tools Display Modes
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 07-09-2018 , 15:01   Re: Hegrenade Damage!
Reply With Quote #11

Quote:
Originally Posted by Natsheh View Post
This had nothing to do with radius so the planet will be fine.
Well this image in my post was CS 1.6 MAP
But anyway such dmg will blow up whole Milky Way
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 07-09-2018 at 15:01.
Ghosted is offline
Mr.J
Senior Member
Join Date: Sep 2017
Location: cs_assault
Old 07-14-2018 , 10:37   Re: Hegrenade Damage!
Reply With Quote #12

He wants to set dmg 10000 I think .
I think it's have a business of execute dmg
Mr.J is offline
taykor19
Member
Join Date: Feb 2018
Old 07-14-2018 , 14:00   Re: Hegrenade Damage!
Reply With Quote #13

Quote:
Originally Posted by Mr.J View Post
He wants to set dmg 10000 I think .
I think it's have a business of execute dmg
Yes Would you do this
taykor19 is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 07-14-2018 , 14:49   Re: Hegrenade Damage!
Reply With Quote #14

Quote:
Originally Posted by taykor19 View Post
Yes Would you do this
As we see this guy is not okay !?
I think he wants to let us do 10000 dmg by hegrenade.
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 07-14-2018 at 14:49.
Ghosted is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-14-2018 , 14:58   Re: Hegrenade Damage!
Reply With Quote #15

Quote:
Originally Posted by Ghosted View Post
As we see this guy is not okay !?
I think he wants to let us do 10000 dmg by hegrenade.
Maybe he has a custom game mode where the enemy has 100,000 HP ?
__________________
edon1337 is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 07-15-2018 , 04:35   Re: Hegrenade Damage!
Reply With Quote #16

Quote:
Originally Posted by edon1337 View Post
Maybe he has a custom game mode where the enemy has 100,000 HP ?
I already posted code and he still says same thing that's why i said that
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
headshot910
Member
Join Date: Apr 2012
Old 07-19-2018 , 08:15   Re: Hegrenade Damage!
Reply With Quote #17

Quote:
Originally Posted by Ghosted View Post
I'll Plugin TO DO DAMAGE, YEA!


Code:
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <hlsdk_const>

#define MORE_DAMAGE 99999

new const Float:DamageMultiplier = 10000.0 // OOooYAAAAAaaaa
new CVar_MoreDamage;

public plugin_init()
{
	RegisterHam(Ham_TakeDamage, "player", "Ham_PlayerTakeDamage_Pre");
	
	CVar_MoreDamage = register_cvar("amx_grenade_moredamage", "0");
}

public Ham_PlayerTakeDamage_Pre(VictimID, InflictorID, AttackerID, Float:Damage, DamageBits)
{
	if (DamageBits & DMG_GRENADE)
		SetHamParamFloat(4, (get_pcvar_num(CVar_MoreDamage) ? MORE_DAMAGE : 1) * Damage * DamageMultiplier); // Walla
}


NOTE: NOT TESTED

NOTE: IF u HAVE Plans to EXPLODE WHOle MAP, Then I wiLL help u with more dmg!

Error: Undefined symbol "DMG_GRENADE" on line 2075
Please help, i cant find "DMG_GRENADE" anywhere

Last edited by headshot910; 07-19-2018 at 08:15.
headshot910 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-19-2018 , 08:36   Re: Hegrenade Damage!
Reply With Quote #18

PHP Code:
const DMG_GRENADE = (1<<24
edon1337 is offline
headshot910
Member
Join Date: Apr 2012
Old 07-19-2018 , 08:56   Re: Hegrenade Damage!
Reply With Quote #19

Quote:
Originally Posted by edon1337 View Post
PHP Code:
const DMG_GRENADE = (1<<24
oh thanks but i have a problem

PHP Code:
    if(damage_type&DMG_HEGRENADE)
        
SetHamParamFloat(4damage*get_pcvar_float(cvar_hedamage)) 
this seem right but its not work for me why, i'm trying to give multipler damage for HE grenade in zp4.3
headshot910 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 00:27.


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