HLMOD.HU Forrás Megtekintés
- www.hlmod.hu/*
Fordította: BBk - Death of Legend
*/
#include <amxmodx>
#include <cstrike>
new const plugin[] = "Magamrol Info"
new const version[] = "1.1"
new const author[] = "xer'"
public plugin_init()
{
register_plugin(plugin,version,author);
register_clcmd("say /en","commandaboutme");
register_clcmd("say_team /en","commandaboutme");
set_task(30.0, "plugin_info" ,_ ,_ ,_ , "b");
}
public commandaboutme(id)
{
new szName[32], szIp[32], szAuth[32], szPing, szLoss;
get_user_name(id, szName, 31);
get_user_ip(id, szIp, 31);
get_user_authid(id, szAuth, 31);
get_user_ping(id, szPing, szLoss);
client_print(id, print_chat,"%L",LANG_PLAYER,"NIAP", szName, szIp, szAuth);
if(!is_user_alive(id))
{
client_print(id, print_chat, "%L", LANG_PLAYER,"NOT_ALIVE")
}
new szhp, szarmor, szfrags, szdeaths, szmoney;
szhp = get_user_health(id);
szarmor = get_user_armor(id);
szfrags = get_user_frags(id);
szdeaths = get_user_deaths(id);
szmoney = cs_get_user_money(id);
client_print(id, print_chat,"%L",LANG_PLAYER,"HAFDM", szhp, szarmor, szfrags, szdeaths, szPing, szmoney);
return PLUGIN_HANDLED;
}
public plugin_info()
{
client_print(0, print_chat, "%L", LANG_PLAYER, "PLUGIN_INFO");
}