PHP Code:
#include <amxmodx>
#include <hamsandwich>
#define VERSION "0.1"
#define ACCESS ADMIN_RCON
public plugin_init()
{
register_plugin("Admin Double Damage", VERSION, "Justin");
RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage");
}
public fw_TakeDamage(victim, inflictor, attacker, Float:damage)
{
if (is_user_connected(attacker) && is_user_alive(attacker) && get_user_flags(attacker) & ACCESS)
{
SetHamParamFloat(4, damage * 2);
}
}
Hi, I found this plugin. But it works with flag. I'm sure guys will help you to set this plugin on Steamid.