Amx_who nu merge[rezolvat!]

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

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
mossano
Membru, skill 0
Membru, skill 0
Posts: 5
Joined: 27 Nov 2011, 14:20
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Contact:

27 Nov 2011, 14:34

Am o problema cu amx_who.....uitati ce imi apare mie:Image
As vrea sa-mi apara sub forma:
=======OWNER=========
=======Co-owner=======
Sau un mesaj in hud sub forma de tabel.....
Am incercat n pluginuri si nu-mi merg.....
Uitati sma-ul:
sma | Afiseaza codul
#include <amxmodx>
#include <amxmisc>
#define MAX_GROUPS 6
new g_groupNames[MAX_GROUPS][] = {
"===Owner===",
"===God===",
"===Administrator===",
"===Moderator===",
"===Admin===",
"===Slot==="
}
new g_groupFlags[MAX_GROUPS][] = {
"abcdefghijklmnopqrstu",
"bcdefghijkmnopqrstu",
"bcdefijmnopstu",
"bcdefijmnstu",
"bcdefi",
"b"
}
new g_groupFlagsValue[MAX_GROUPS]
public plugin_init() {
register_plugin("Amx Who by eXtream", "1.0", "eXtreamCS.com")
register_concmd("admin_who", "cmdWho", 0)
for(new i = 0; i < MAX_GROUPS; i++) {
g_groupFlagsValue = read_flags(g_groupFlags)
}
}
public cmdWho(id) {
new players[32], inum, player, name[32], i, a
get_players(players, inum)
console_print(id, "===Lista Admini===")
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, "===Lista Admini===")
return PLUGIN_HANDLED
}


Si user.ini:
users.ini | Afiseaza codul
[list]; Users configuration file
; File location: $moddir/addons/amxmodx/configs/users.ini

; Line starting with ; is a comment

; Access flags:
; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
; b - reservation (can join on reserved slots)
; c - amx_kick command
; d - amx_ban and amx_unban commands
; e - amx_slay and amx_slap commands
; f - amx_map command
; g - amx_cvar command (not all cvars will be available)
; h - amx_cfg command
; i - amx_chat and other chat commands
; j - amx_vote and other vote commands
; k - access to sv_password cvar (by amx_cvar command)
; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
; m - custom level A (for additional plugins)
; n - custom level B
; o - custom level C
; p - custom level D
; q - custom level E
; r - custom level F
; s - custom level G
; t - custom level H
; u - menu access
; z - user (no admin)

; Account flags:
; a - disconnect player on invalid password
; b - clan tag
; c - this is steamid/wonid
; d - this is ip
; e - password is not checked (only name/ip/steamid needed)

; Password:
; Add to your autoexec.cfg: setinfo _pw "<password>"
; Change _pw to the value of amx_password_field

; Format of admin account:
; <name|ip|steamid> <password> <access flags> <account flags>

; Examples of admin accounts:
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de"
; "My Name" "my_password" "abcdefghijklmnopqrstu" "a"


" Owner",
            

" Co-Owner",


" Maresal",




" General",





" Colonel",








" Maior",


" Sergent",




" Soldat",



" V.I.P"



"abcdefghijklmnopqrstu",
"abcdefgijklmnopqrst",
"bcdefgijklmnopqrst",
"bcdefgijklmnopqrs",
"bcdefgijmnopqr",
"bcdefgijmnop",
"bcefijmn",
"abie",
"b",
L-am incercat si pe acesta:http://www.extreamcs.com/forum/pluginur ... 31778.html

Daca ar putea cineva sa ma ajute as fi foarte recunoscator......Daca poate cineva sa-mi faca si users.ini pentru ca nu stiu ce sa-i mai fac ca sa mearga.
Last edited by Awakening on 27 Nov 2011, 19:40, edited 2 times in total.
Reason: Foloseste codul bb SURSA pentru texte lungi
RoyalServer 2
[E]xPeRiEnCe
Fost moderator
Fost moderator
Posts: 1671
Joined: 31 Oct 2009, 15:25
Detinator Steam: Da
Reputatie: Fost moderator
Location: CLUJ-NAPOCA
Has thanked: 45 times
Been thanked: 147 times

27 Nov 2011, 17:49

dar iti functioneaza ,adica ruleaza pe server !?
Vad ca sma-ul se compileaza deci e scris corect
User avatar
Awakening
eXtream Mod
eXtream Mod
Posts: 3933
Joined: 06 Apr 2010, 11:01
Detinator Steam: Da
CS Status: Plictiseala
Detinator server CS: Adio cs
SteamID: eliara
Reputatie: eXtream Mod
Fost Manager VEST.eXtream.Ro
Fost Manager ZM.eXtream.Ro
Membru Club eXtreamCS (6 luni)
Nume anterior: CRISTIAN
Location: Bucuresti
Discord: m_i3
Has thanked: 151 times
Been thanked: 344 times

27 Nov 2011, 17:52

In plugin ai asa

Code: Select all

"===Owner===",
"===God===",
"===Administrator===",
"===Moderator===",
"===Admin===",
"===Slot==="
In users.ini ai:

Code: Select all

" Owner",
" Co-Owner",
" Maresal",
" General",
" Colonel",
" Maior",
" Sergent",
" Soldat",
" V.I.P"
Ti se pare ca se potrivesc, asa dupa ochiu tau? De flaguri ce sa mai zic? Pune mana si modifica sa fie ca in users.ini in sma si numele si flagurile apoi dai compile
User avatar
cosi
Fost moderator
Fost moderator
Posts: 745
Joined: 10 Mar 2011, 21:06
Detinator Steam: Da
CS Status: Let's Go
Detinator server CS: ZP.XGAMERS.RO
SteamID: cosi_adr94
Reputatie: Fost moderator !
Location: Tecuci
Been thanked: 86 times
Contact:

27 Nov 2011, 18:16

mda..faza e k treb modificat din sma-ul amxcmd linia cu regiser amx_who si treb pus // si apoi copilat..k lui ii arata toti jucatori..si faza cu amx_who lui nu e bun..treb exact ca in user..
Image
1)Esti pe Forumul http://www.extreamcs.com
2)Privesti Semnatura mea
3)Acum citesti punctul 3
5)Nu ai observat ca lipseste punctul 4
6)Tocmai ai verificat daca exista punctul 4 ??
7)Zambesti sau chiar razi
mossano
Membru, skill 0
Membru, skill 0
Posts: 5
Joined: 27 Nov 2011, 14:20
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Contact:

27 Nov 2011, 18:31

Va multumes tuturor! am gasit singur.....Am refacut gradele in users.ini exact ca in .sma si am gasit pe google pe un forum sa pun pluginul amx_who.amxx primul in lista de pluginuri plugins.ini iar acum merge.Puteti inchide topicul!
mega.m
Membru, skill 0
Membru, skill 0
Posts: 13
Joined: 14 Mar 2013, 09:33
Detinator Steam: Da
CS Status: In Spatiu Cu gagica mea
Detinator server CS: nu
SteamID: mega_m5
Location: Gugesti
Has thanked: 2 times
Contact:

01 May 2013, 08:09

sau merge si gradul asta
"OWNER" "abcdefghijklmnopqrstu" "a"

"CO-OWNER" "abcdefghijlmnopqrs" "a"

"AMIRAL" "abcdefgijlmnopqr" "a"

"GENERAL" "bcdefgijlmnopq" "a"

"COLONEL" "bcdefgijlmnop" "a"

"MAIOR" "bcdefgijmn" "a"

"SERGENT" "bcefij" "a"

"SLOT" "b" "a"

"abcdefghijklmnopqrst",
"abcdefghijlmnopqrs",
"abcdefgijlmnopqr",
"bcdefgijlmnopq",
"bcdefgijlmnop",
"bcdefgijmn",
"bcefij",
"b"
[img]MtK.Mega^[/img]
Post Reply

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

  • Information
  • Who is online

    Users browsing this forum: No registered users and 69 guests