Raised This Month: $ Target: $400
 0% 

Hegrenade damage ? doesnt work...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 12-22-2007 , 19:17   Hegrenade damage ? doesnt work...
Reply With Quote #1

PHP Code:
#include <amxmodx>
#include <engine>
#include <csx>

public plugin_init() {
    
register_plugin("He mod ^^ ""1.0""Sn!ff3r")
}

public 
grenade_throwindex,greindex,wId )
{    
    
// index == player id, greindex == grenade id, wid == grenade type
    
if(wId == 4// hegrenade
    
{
        
entity_set_float(greindexEV_FL_dmg200.0// doesnt work :(
        
entity_set_float(greindexEV_FL_gravity1.8// work fine
    
}
    return 
PLUGIN_HANDLED    

Changing grenade gravity is working, damage not... anyone can help me?
Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 12-22-2007 , 19:44   Re: Hegrenade damage ? doesnt work...
Reply With Quote #2

I need this too lol.. not sure what the normal gravity for grenades though..

None of the gun damage modifiers out there work.. hope this one get fixed =)
__________________
hugz` is offline
Send a message via AIM to hugz`
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 12-23-2007 , 18:22   Re: Hegrenade damage ? doesnt work...
Reply With Quote #3

solved... lame way but solved
Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 12-23-2007 , 19:09   Re: Hegrenade damage ? doesnt work...
Reply With Quote #4

Can you share?
__________________
hugz` is offline
Send a message via AIM to hugz`
Reply


Thread Tools
Display Modes

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:04.


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