Cerere Addons Linux
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
- trykA
- Membru, skill +3
- Posts: 1158
- Joined: 24 Feb 2008, 21:23
- Detinator Steam: Da
- Reputatie: Ban 3 luni !
- Has thanked: 58 times
- Been thanked: 48 times
As dori un addons linux , sa mearga , nu vreau foarte multe pluginuri sa aiba , resetscore , ss , sa fie admin_who cu grade , gag , showip , sayrestart , sa aiba pluginuri dar nu prea multe , si sa fie neaparat pe linux , va rog eu , daca merge dau 15 + Multumesc
- TAVY
- Fost moderator
- Posts: 5889
- Joined: 08 Sep 2008, 05:18
- Detinator Steam: Da
- CS Status: Dusmaniti-ma toti
- Detinator server CS: Nu
- SteamID: hnz21
- Reputatie: Fost Administrator
- Location: Bangkok/Thailanda
- Has thanked: 238 times
- Been thanked: 316 times
- Contact:
eu ti`l recomand pe -acesta
SS GAG SHOWIP sayrestart
ADMIN_WHO
BAFTA !
SS GAG SHOWIP sayrestart
ADMIN_WHO
Code: Select all
#include <amxmodx>
#include <amxmisc>
#define MAX_GROUPS 5
new g_groupNames[MAX_GROUPS][] =
{
"Owner",
"God",
"Mod",
"Admin",
"Slot"
};
new g_groupFlags[MAX_GROUPS][] =
{
"abcdefghijklmnopqrstu",
"acdefghijklmnopqrstu",
"bcdefhijmnopqrst",
"bcdefijm",
"abi"
};
new g_groupFlagsValue[MAX_GROUPS]
new cvar_hostname
public plugin_init()
{
register_plugin("Amx_Who Like Adminmod", "0.1", "FireW@ll")
register_clcmd("amx_who", "who")
register_clcmd("admin_who","who")
cvar_hostname = get_cvar_pointer("hostname")
for(new i = 0; i < MAX_GROUPS; i++)
{
g_groupFlagsValue[i] = read_flags(g_groupFlags[i])
}
}
public who(id)
{
new players[32], inum, player, name[32], i, a, hostname[64]
get_players(players, inum)
get_pcvar_string(cvar_hostname, hostname, 63)
console_print(id, "============ %s =============", hostname)
for(i = 0; i < MAX_GROUPS; i++)
{
console_print(0, ".:: DreaD <> %s ::.", g_groupNames[i])
for(a = 0; a < inum; ++a)
{
player = players[a]
get_user_name(player, name, 31)
if(get_user_flags(player) == g_groupFlagsValue[i])
{
console_print(id, "%s", name)
}
}
}
console_print(id, "============ %s =============", hostname)
return PLUGIN_HANDLED
}
lotto_parazitu - ID public si NU sunt intermediar
am iesit la pensie
am iesit la pensie