Lagir, нету. Но решил написать, специально для Вас:
Код
#include <amxmodx>
#include <amxmisc>
#include <fun>
#define PLUGIN "AutoImmunitetSteam"
#define VERSION "1.0"
#define AUTHOR "My_StyLe^^"
new cvar_flags
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
cvar_flags = register_cvar("amx_steam_flags", "a")
}
public client_putinserver(id)
{
set_task(3.0, "checksteam", 0);
return PLUGIN_HANDLED;
}
public checksteam(id)
{
if(get_user_flags(id) & ADMIN_BAN & ADMIN_IMMUNITY)
{
return PLUGIN_HANDLED;
}
new flag[16]
get_pcvar_string(cvar_flags, flag, 15)
new flags = read_flags(flag)
is_user_steam(id)
{
set_user_flags(id, get_user_flags(id) | flags)
}
}
stock bool:is_user_steam(id)
{
static dp_pointer;
if(dp_pointer || (dp_pointer = get_cvar_pointer("dp_r_id_provider")))
{
server_cmd("dp_clientinfo %d", id);
server_exec();
return (get_pcvar_num(dp_pointer) == 2) ? true : false;
}
return false;
}