Problema La amx_Who

Discutii legate de instalarea, configurarea si modificarea unui server de Counter-Strike.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
Alex.IGM
Membru, skill 0
Membru, skill 0
Posts: 2
Joined: 23 Feb 2019, 13:35
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

24 Feb 2019, 14:50

Salut am si eu o problema la amx_who cand se schimba mapa am gradul de fondator si cand dau relog nu mai am gradul
plugins.ini
| Afiseaza codul
amx_who.amxx
; Protectie By HZone
plmenu_ab_base.amxx
advanced_bans.amxx
anti.amxx
Gag_Manager.amxx
hzone_protect.amxx debug
tfts_transfer.amxx
advanced_bans.amxx

; Admin Base - Always one has to be activated
admin.amxx		; admin base (required for any admin-related)
;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx		; basic admin console commands
;;adminhelp.amxx		; help command for admin console commands
;;adminslots.amxx		; slot reservation
;;multilingual.amxx	; Multi-Lingual management

; Menus
menufront.amxx		; front-end for admin menus
cmdmenu.amxx		; command menu (speech, settings)
plmenu.amxx		; players menu (kick, ban, client cmds.)
;telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)
;;pluginmenu.amxx		; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx		; console chat commands
;;antiflood.amxx		; prevent clients from chat-flooding the server
;;scrollmsg.amxx		; displays a scrolling message
;;imessage.amxx		; displays information messages
adminvote.amxx		; vote commands

; Map related
nextmap.amxx		; displays next map in mapcycle
mapchooser.amxx		; allows to vote for next map
timeleft.amxx		; displays time left on map

; Configuration
;;pausecfg.amxx		; allows to pause and unpause some plugins
statscfg.amxx		; allows to manage stats plugins via menu and commands

; Counter-Strike
restmenu.amxx		; restrict weapons menu
statsx.amxx		; stats on death or round end (CSX Module required!)
;miscstats.amxx		; bunch of events announcement for Counter-Strike
;stats_logging.amxx	; weapons stats logging (CSX Module required!)
ads.amxx
fith_remove.amxx
anti_chat_spam.amxx
; Custom - Add 3rd party plugins here

csgo_remake.amxx

hzone_protect.amxx debug
csdm_equip.amxx
csdm_ffa.amxx
csdm_itemmode.amxx
csdm_main.amxx
csdm_misc.amxx
csdm_protection.amxx
csdm_spawn_preset.amxx
csdm_tickets.amxx
spawn_editor.amxx
csdm_stripper.amxx

ResetScore.amxx
VipRs.amxx
contact.amxx
parasuta.amxx
plugins de la gradele de amx_who -
| Afiseaza codul
#include <amxmodx>
#include <amxmisc>
#define MAX_GROUPS 15
new g_groupNames[MAX_GROUPS][] = {
"C.E.O",
"OWNER",
"GODZ + VIP",
"GODZ",
"SUPER MODERATOR + VIP",
"SUPER MODERATOR",
"MODERATOR + VIP",
"MODERATOR",
"ADMINIS + VIP",
"ADMINISTRATOR",
"ADMIN PROBE + VIP",
"ADMIN PROBE",
"SLOT + VIP",
"SLOT",
"VIP"
}
new g_groupFlags[MAX_GROUPS][] = {
"abcdefghijklmnopqrstu",
"bcdefghijklmnopqrstu",
"bcdefghijklmnopqrst",
"bcdefghijklmnopqrs",
"bcdefghijlmnopqrst",
"bcdefghijlmnopqrs",
"bcdefijlmnopqrt",
"bcdefijlmnopqr",
"bcdefijmnopt",
"bcdefijmnop",
"bcefijmnt",
"bcefijmn",
"bt",
"b",
"t"
}
new g_groupFlagsValue[MAX_GROUPS];
public plugin_init() {
register_plugin("Lista admini (amx_who)", "1.0", "Krond Solutions SRL")
register_concmd("amx_who", "cmdWho", 0);
register_concmd("admin_who", "cmdWho", 0);
for(new i = 0; i < MAX_GROUPS; i++) {
g_groupFlagsValue = read_flags(g_groupFlags)
}
}
public cmdWho(id) {
// Verificam daca userul este online, daca nu... ne oprim din executie
if(!is_user_connected(id)) { return PLUGIN_HANDLED; }
new players[32], inum, player, name[32], i, a;
get_players(players, inum);
console_print(id, "==============================");
for(i = 0; i < MAX_GROUPS; i++) {
console_print(id, "---------- [%d] %s ----------", i+1, g_groupNames)
for(a = 0; a < inum; ++a) {
player = players[a]
get_user_name(player, name, 31);
if(get_user_flags(player) == g_groupFlagsValue) {
console_print(id, ">>> %s", name);
}
}
}
console_print(id, "==============================")
return PLUGIN_HANDLED
}

De la ce e problema :?
Post Reply

Return to “Probleme la servere dedicate de Counter-Strike”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 70 guests