Cerere Addons Linux

Cereri de resurse: addons-uri, modele, sunete, etc.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
User avatar
trykA
Membru, skill +3
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

20 Aug 2010, 11:30

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
User avatar
TAVY
Fost moderator
Fost moderator
Posts: 5889
Joined: 08 Sep 2008, 04:18
Detinator Steam: Da
CS Status: Dusmaniti-ma toti
Detinator server CS: Nu
SteamID: hnz21
Reputatie: Fost Administrator
Location: Bangkok/Thailanda
Has thanked: 234 times
Been thanked: 314 times
Contact:

20 Aug 2010, 11:47

eu ti`l recomand pe -acesta
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
}
BAFTA !
lotto_parazitu - ID public si NU sunt intermediar
am iesit la pensie
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests