Jump to content

Toggle %s Deathrow Romania Counter-Strike:Global Offensive

www.Deathrow.ro - Forum - ONLINE [DM+FFA] DM.DeathRow.ro - ONLINE [DM+FFA HS Only] HS.DeathRow.ro - ONLINE [Retakes] Retake.DeathRow.ro - ONLINE [Retakes] Retake2.DeathRow.ro - ONLINE [Surf] Surf.DeathRow.ro - ONLINE


Photo

Suport Plugin amx_who

- - - - -

  • Please log in to reply
1 reply to this topic

#1
cOwaRdLy.

cOwaRdLy.

    Owner Bucuresti

  • Owner server
  • 1454 posts
  • 121 topics
  • Joined 27-February 12
  • Country: Country Flag

Problema intampinata: Am nevoie va rog de un plugin amx_who
Descrierea acesteia: Sa arate adminii in consola la comanda amx_who si admin_who
Imagini: -
Alte precizari:

Gradele sa fie astea va rog:

 

 Founder                           abcdefghijklmnopqrstux

 Manager                          abcdefghijklmnopqrstu

 Owner                             abcdefgijmnopqrstu

 Co-Owner                        abcdefgijmopqrst

 Veteran                           abcdefgijmopqrs

 General                           abcdefgijmopqr

 Su​preme                         abcdefgijmopq

 Super-Moderator              bcdefgijmopq

 Moderator                       bcdefgijmop

 Administrator                  bcdefgijmo

 Sergent                          bcdefgijm

 Helper                            bcdefgij

 V.I.P                              abi

 Girls​                               bi​

 Premium                        ab

 Slot​                               b

  



#2
s0ules

s0ules

    Owner Jurasic

  • Owner server
  • 321 posts
  • 56 topics
  • Joined 19-April 15
  • Country: Country Flag
#include <amxmodx>
#include <amxmisc>
#define MAX_GROUPS 16
new g_groupNames[MAX_GROUPS][] = {
"Founder",
"Manager",
"Owner",
"Co-Owner",
"Veteran",
"General",
"Supreme",
"Super-Moderator",
"Moderator",
"Administrator",
"Sergent",
"Helper",
"V.I.P",
"Girls",
"Premium",
"Slot"
}
new g_groupFlags[MAX_GROUPS][] = {
"abcdefghijklmnopqrstux",
"abcdefghijklmnopqrstu",
"abcdefgijmnopqrstu",
"abcdefgijmopqrst",
"abcdefgijmopqrs",
"abcdefgijmopqr",
"abcdefgijmopq",
"bcdefgijmopq",
"bcdefgijmop",
"bcdefgijmo",
"bcdefgijm",
"bcdefgij",
"abi",
"bi",
"ab",
"b"
}
new g_groupFlagsValue[MAX_GROUPS]
public plugin_init() {
register_plugin("Amx Who", "1.0.1", "Author")
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, "-- Staff Online --")
for(i = 0; i < MAX_GROUPS; i++) {
console_print(id, "[%d]%s", i+1, 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, "Enjoy us^")
return PLUGIN_HANDLED
}

Apropo,  ai gresit sectiunea.. Cererea trebuia facuta la CS16 - Scripting -> Requests


Edited by s0ules, 26 November 2017 - 05:30 PM.

  • cOwaRdLy. and sEBARu like this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users