User
Pass
2FA
 
 

Cerere plugin amx_who si /who pe chat direct pe console

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support
Author Message846
Bhupesh

[Mentally Stable]



Status: Offline
(since 31-08-2021 07:06)
Joined: 27 Jul 2017
Posts: 21, Topics: 12
Location: India

Reputation: 36.8

Post Posted: 29-08-2017, 19:53:16 | Translate post to: ... (Click for more languages)

Hello Everybody I need Amx_who Plugin which can seen by amx_who at console and writing /who at chat it redirect to console for showing grades

==============================================================
[1] Foundator Access Ftp | "abcdefghijklmnopqrstu"
==============================================================

==============================================================
[2] Foundator Fara Ftp | "abcdefghijkmnopqrstu"
==============================================================

==============================================================
[3] Diamond Member | "bcdefghijmnopqrs"
==============================================================

==============================================================
[4] Golden Member | "bcdefghijmnopqr"
==============================================================

==============================================================
[5] Silver Member | "bcdefghijmnopq"
==============================================================

==============================================================
[6] Bronze member | "bcdefghijmnop"
==============================================================

==============================================================
[7] Owner | "bcdefhijmno"
==============================================================

==============================================================
[8] Co-Owner | "bcdefhijmn"
==============================================================

==============================================================
[9] God's | "bcdefhijm"
==============================================================

==============================================================
[10] Moderator | "bcdefhij"
==============================================================

==============================================================
[11] Co-Moderator | "bcefhij"
==============================================================

==============================================================
[12] Helper | "bceij"
==============================================================

==============================================================
[13] Slot | "b"
==============================================================

0 0
  
Back to top
View user's profile Send private message
GoreSpintecatoru.

[Inactiv o perioada]



Status: Offline
(since 09-11-2017 19:29)
Joined: 18 Feb 2017
Posts: 638, Topics: 28
Location: Romania

Reputation: 762.7
Votes: 40

       
Post Posted: 30-08-2017, 15:00:15 | Translate post to: ... (Click for more languages)

You have a lot of plugins with amx_who -
Example:
Code:
#include <amxmodx>
#include <amxmisc>
#define MAX_GROUPS 9
new g_groupNames[MAX_GROUPS][] = {
"Detinator", //first name
"Staff", //second name
"Owner",
"Co-Owner",
"GooD",
"Moderator",
"Administrator",
"Helper",
"Slot"
}
new g_groupFlags[MAX_GROUPS][] = {
"abcdefghijklmnopqrstu", //first acces
"abcdegfhijmnopqrs", //second acces
"bcdefijmnopqrs",
"bcdefijmnopqr",
"bcdefijmnopq",
"bcdefijmno",
"bcefijmn",
"bcefojm",
"b"
}
new g_groupFlagsValue[MAX_GROUPS];
public plugin_init() {
register_plugin("amx_who", "1.0", "gore")
register_concmd("amx_who", "cmdWho", 0);
register_concmd("admin_who", "cmdWho", 0);
for(new i = 0; i < MAX_GROUPS; i++) {
g_groupFlagsValue[i] = read_flags(g_groupFlags[i])
}
}
public cmdWho(id) {
if(!is_user_connected(id)) { return PLUGIN_HANDLED; }
new players[32], inum, player, name[32], i, a;
get_players(players, inum);
console_print(id, "==============================");
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, "==============================")
return PLUGIN_HANDLED
}

Change plugin for you.


Regulament|My Official Website[V:1.1]|Panel JB[V:1.0]

0 0
  
Back to top
View user's profile Send private message
Bhupesh

[Mentally Stable]



Status: Offline
(since 31-08-2021 07:06)
Joined: 27 Jul 2017
Posts: 21, Topics: 12
Location: India

Reputation: 36.8

Post Posted: 30-08-2017, 19:59:07 | Translate post to: ... (Click for more languages)

Man Just make amx_who plugin with writing amx_who on console and if we write /who on chat it redirect to console for grade
0 0
  
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support  


The time now is 03-02-2025, 21:44:25
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x