Jump to content
Sign in to follow this  
Lucian #

Cerere plugin [Rezolvat]

Recommended Posts

Nume : amx_who sau easy who

Versiune : Oricare

Descriere detaliata : Am nevoie de un plugin cu care playerii sa poata vedea adminii online, tastand amx_who in consola.

 

Aici gradele si flagurile.

 

Fondator - "abcdefghijklmnopqrstuvxy"

Administrator - "abcdefghijklmnopqrstu"

Owner+Vip - "abcdefghijklmnoprstu"

Owner - "abcdefghijklmnoprsu"

Maresal+Vip - "bcdeghijlmnoprst"

Maresal - "bcdeghijlmnoprs"

General+Vip - "bcdehijmnoprst"

General - "bcdehijmnoprs"

Maior+Vip - "bcdeijmnoprst"

Maior - "bcdeijmnoprs"

VIP - "bit"

Slot - "b"

Share this post


Link to post
Share on other sites

Plugin .amxx care arata adminii online pe server prin comanda amx_who [ in consola se executa comanda ]
Gradele aici sunt  :

 

Sper ca te-am fost de ajutor.

 

 


Download .SMA [ http://www.girlshare.ro/32070140.3 ]
Download .AMXX [ http://www.girlshare.ro/32070141.4


 

Quote

Quote

 


Founder
Owner
CO-OWNER
Maresal
General

Sergent
Maior
Helper
Slot
V.I.P

Accese:

 

Quote

Quote

Quote

 


  Quote

abcdefghijklmnopqrstu
abcdefghijklmnopqrst
bcdefghijklmnopqrst
bcdefghijlmnopqrst
bcdefghijlmnopqrs
bcdefgijlmnopqrs
bcdefgijmnoprs
bcdefgijmnrs
bi
ab



4ujt6c.png
1. Fisierul amx_who.sma il puneti in addons/amxmodx/scripting
2. Fisierul amx_who.amxx il puneti in addons/amxmodx/plugins
3. Fisierul user.ini il puneti in addons/amxmodx/configs
4. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati pe prima linie:

 

Quote

Quote

 


  Quote

amx_who.amxx

 

 

 


Download .SMA [ http://www.girlshare.ro/32070140.3 ]
Download .AMXX [ http://www.girlshare.ro/32070141.4 ]
 

 

Edited by RiLL

Share this post


Link to post
Share on other sites

#include <amxmodx>

#include <amxmisc>

#define MAX_GROUPS 12

new g_groupNames[MAX_GROUPS][] = {

"Founder",

"Administrator",

"Owner + Vip",

"Owner",

"Maresal + Vip",

"Maresal",

"General + Vip",

"General",

"Maior + Vip",

"Maior",

"V.I.P",

"Slot"

}

new g_groupFlags[MAX_GROUPS][] = {

"abcdefghijklmnopqrstuvxy",

"abcdefghijklmnopqrstu",

"abcdefghijklmnoprstu",

"abcdefghijklmnoprsu",

"bcdeghijlmnoprst",

"bcdeghijlmnoprs",

"bcdehijmnoprst",

"bcdehijmnoprs",

"bcdeijmnoprst",

"bcdeijmnoprs",

"bit",

"b"

}

new g_groupFlagsValue[MAX_GROUPS]

public plugin_init() {

register_plugin("Amx Who by rangfort", "1.0", "rangfort.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, "Comunitatea RangFort. Ro")

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, "Comunitatea RangFort. Ro")

return PLUGIN_HANDLED

}

Poftim

Share this post


Link to post
Share on other sites

Multumesc :) Poti da t/c

Edited by LucHyaNN.
#Lock

Share this post


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

×