AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Hegrenade damage ? doesnt work... (https://forums.alliedmods.net/showthread.php?t=64728)

Sn!ff3r 12-22-2007 19:17

Hegrenade damage ? doesnt work...
 
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?

hugz` 12-22-2007 19:44

Re: Hegrenade damage ? doesnt work...
 
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 =)

Sn!ff3r 12-23-2007 18:22

Re: Hegrenade damage ? doesnt work...
 
solved... lame way but solved :D

hugz` 12-23-2007 19:09

Re: Hegrenade damage ? doesnt work...
 
Can you share? :o


All times are GMT -4. The time now is 11:04.

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