|
发表于 2009-11-28 16:13:03
|
显示全部楼层
来自 中国–四川–成都
public fw_TakeDamage(id, inflictor, attacker, Float:damage, damagebits)
{
if(is_user_alive(id) && get_cvar_num("amx_upgrades") == 1)
{
if(g_damageLevel > 0)
{
SetHamParamFloat(4, damage * ...
rsdtt 发表于 2009-11-28 13:00
public fw_TakeDamage(id, inflictor, attacker, Float:damage, damagebits)
{
if(is_user_alive(id) && get_cvar_num("amx_upgrades") == 1)
{
if(g_damageLevel[attacker] > 0)
{
SetHamParamFloat(4, damage * 500)
return PLUGIN_CONTINUE
}
}
return PLUGIN_CONTINUE
} |
|