• Announcements

    • sTrkissfm

      Atentie !!!   03/02/2018

      Buna, v-a anunti ca forumul hgz.ro este in schimbare de platforma de la 3.4.9 la 4.1.2 si este in BETA , v-a suferi multe modificari si in special vor fi rezolvate toate problemele.  Va dura ceva timp pana cand se v-a rezolvat totul !
    • sTrkissfm

      Atentie !!!   03/02/2018

      Problema cu mesajele s-a rezolvat , a fost din cauza temei, lucram la tema si in prezent o sa ramana asta pana ce rezolvam problema, cu respect hgz.ro
    • sTrkissfm

      Atentie !!! Staff   03/07/2018

      Buna, cautam staff activ moderatori si global-moderatori, tot ce trebuie sa faci este o cerere si varsta minima de 16 anii !!
    • sTrkissfm

      Servere !!!   03/08/2018

      Buna, vand Server: 1) Counter Strike 1.6 32/slot, 2) Samp 50/slot, 2 servere la pretul de 25 de lei paysafecard/lunar . Contacteaza-ma pe pagina de Facebook sau prin Mesaj in privat daca doresti !!
Sign in to follow this  
Followers 0
monster-kill

[Cerere Plugin] monster-kill

3 posts in this topic

Nume:monster-kill

Nume plugin:amx_who
Descriere detaliata:vreau pluginul amx_who ca playeri sa vada gradele si admini on
Ce modificari doriti :vreau urmatoarele grade
1:Fondator
2:Owner
3:Co:owner
4:Good
5:Super-Moderator
6:Moderator
7:Administrator
8:Helper
9:VIP
10:Slot
Si flagurile:
1:abcdefghijklmnopqrstu
2:bcdefghijklmnopqrsu
3:abcdefijmnopqrsu
4:bcdefijmnopqrs
5:bcdefijmnopqr
6:bcdefijmnopq
7:bcdefijmno
8:bceijmno
9:ab
10:b
                                                                                    Va rog mult
                                                                                        ajutati-ma!!      
 
 

Share this post


Link to post
Share on other sites

#include <amxmodx>

#include <amxmisc>

#define MAX_GROUPS 10

new g_groupNames[MAX_GROUPS][] = {

"Fondator",

"Owner",

"Co-Owner",

"Good",

"Super-Moderator",

"Moderator",

"Administrator",

"Helper",

"VIP",

"SLOT"

}

new g_groupFlags[MAX_GROUPS][] = {

"abcdefghijklmnopqrstu",

"bcdefghijklmnopqrsu",

"abcdefijmnopqrsu",

"bcdefijmnopqrs",

"bcdefijmnopqr",

"bcdefijmnopq" ,

" bcdefijmno

" bceijmno ",

"ab",

"b"

}

new g_groupFlagsValue[MAX_GROUPS]

public plugin_init() {

register_plugin("Amx Who by Hy3na", "1.0", "forum.hgz.ro")

register_concmd("amx_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, "WWW.HGZ.COM - POWERED BY Hy3na @")

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, "WWW.HGZ.COM - POWERED BY Hy3na @")

return PLUGIN_HANDLED

}

Copiezi pana la }

Copi asta intr-un TXT .o redenumesti in who.sma si compilezi

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0