Page 1 of 1

Cerere amx_who ![rezolvat!]

Posted: 27 Aug 2010, 01:07
by pasolnahui
As Dori daca se poate un amx_who.amxx tot cu user.ini deodata !
Urmatoarele grade !
ADMINII ONLINE !
"--- > Owner < ----",
"--- > Co-Owner < ---",
"--- > Maresal < ---",
"--- > General < ---",
"--- > Colonel < ---",
"--- > Maior < ---",
"--- > Sergent < ---",
"--- > Soldat < ---"
ADMINII ONLINE !

"abcdefghijklmnopqrstu",
"abcdefghijlmnop",
"bcdefhijop",
"bcdefij",
"bcefij",
"bceij",
"beij",
"b"

Daca Stiti Cum se pun mai bine accesele nu strica un pic de ajutor !

Astept cu nerabdarea ajutorul Vostru "MS" !

HL & GF !

Re: Cerere amx_who !

Posted: 27 Aug 2010, 10:13
by cosmin931
Download aici
Users.ini download

Ti-am pus io un link de download cu cu owner co-owner ... intri u in amx_who.sma si deschizi cu Notepad sau notepad++ si schimbi gradele de acolo cu ce vrei uh :) ... cand intri pe server pui amx_who sau schimbi numele pluginului amx in admin_who.amxx si vrei pune admin_who si iti vor aparea adminii :P

Re: Cerere amx_who !

Posted: 27 Aug 2010, 13:07
by iLLuSsi0N
Poftim:

Code: Select all

#include <amxmodx>
#include <amxmisc>

#define MAX_GROUPS 8

new g_groupNames[MAX_GROUPS][] = {
"--- > Owner < ----",
"--- > Co-Owner < ---",
"--- > Maresal < ---",
"--- > General < ---",
"--- > Colonel < ---",
"--- > Maior < ---",
"--- > Sergent < ---",
"--- > Soldat < ---" 
}

new g_groupFlags[MAX_GROUPS][] = {
"abcdefghijklmnopqrstu",
"abcdefghijlmnop",
"bcdefhijop",
"bcdefij",
"bcefij",
"bceij",
"beij",
"b" 
}

new g_groupFlagsValue[MAX_GROUPS]

public plugin_init() {
  register_plugin("AMX Who - AdminMod", "1.0", "KroT@L<>changenINxxbySAMURAI")
  register_concmd("amx_who", "cmdWho", 0)
  for(new i = 0; i < MAX_GROUPS; i++) {
    g_groupFlagsValue[i] = read_flags(g_groupFlags[i])
  }
}

public cmdWho(id) {
  new players[32], inum, player, name[32], i, a
  get_players(players, inum)
  console_print(id, "ADMINII ONLINE !")
  for(i = 0; i < MAX_GROUPS; i++) {
    console_print(id, "-----%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, "ADMINII ONLINE !")
  return PLUGIN_HANDLED
}

il compilezi si tu.

Re: Cerere amx_who !

Posted: 27 Aug 2010, 15:22
by pasolnahui
Ms Mult ! :X:X:X

Dar nu merge sa dowlandez

Dar cu compilatul o sa incerc mai incolo ca am prieten el stie cum va aparea mai tirziu la mine !

Re: Cerere amx_who !

Posted: 27 Aug 2010, 16:12
by pasolnahui
Va rog frumos eu nu pot compila daca se poate sa-mi dati ..

amx_who.amxx
amx_who.sma
user.ini


Daca se poate va rog facut deodata cu gradele care vam rugat !

Re: Cerere amx_who !

Posted: 27 Aug 2010, 16:51
by iLLuSsi0N
http://www.girlshare.ro/1529723.8

poftim :)
ti-am pus in arhiva si amx_who.sma si amx_who.amxx si users.ini

Re: Cerere amx_who !

Posted: 27 Aug 2010, 23:28
by pasolnahui
Ms Frate Pluginsu e boon dar te rog frumos daca poti cand un player o sa scrie amx_who in consola sai apara gradele cu admine MS MULT !

Re: Cerere amx_who !

Posted: 28 Aug 2010, 11:58
by iLLuSsi0N
Intra in fisierul HLDS/cstrike/addons/amxmodx/scripting/admincmd.sma si deschide-l. Uite-te mai jos si vei avea o linie

register_concmd("amx_who", "cmdWho", ADMIN_ADMIN, "- displays who is on server")

pui // in fata lui, si va fi asa:

//register_concmd("amx_who", "cmdWho", ADMIN_ADMIN, "- displays who is on server")

Il salvezi, iesi, il compilezi, si fisierul .amxx il bagi in plugins. Succes !

A si ai zis sa ti le uploadez pe 2shared fiindca nu poti sa il iei de pe girlshare, poftim:

http://www.2shared.com/file/oSaib3sW/amx_who.html

Re: Cerere amx_who !

Posted: 28 Aug 2010, 12:48
by pasolnahui
Mutumesc Foarte mult :X

Re: Cerere amx_who ![rezolvat!]

Posted: 11 May 2013, 09:03
by mega.m
Daca nu va merg gradele Downloadati amx_who generator ca e mai bun si o sa va mearga