Raised This Month: $ Target: $400
 0% 

Hegrenade damage ? doesnt work...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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