Raised This Month: $81 Target: $400

[Request] need help with this

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Join Date: Mar 2020
Location: Street (Homeless)
Old 02-01-2022 , 20:09   [Request] need help with this
Reply With Quote #1

Hello guys, can someone make a plugin like this:

#include <amxmodx>
#include <amxmisc>
#define MAX_GROUPS 15
new g_groupNames[MAX_GROUPS][] = {
new g_groupFlags[MAX_GROUPS][] = {
new g_groupFlagsValue[MAX_GROUPS];
public plugin_init() {
register_plugin("Lista admini (amx_who)", "1.0", "Krond Solutions SRL")
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) {
// Verificam daca userul este online, daca nu... ne oprim din executie
if(!is_user_connected(id)) { return PLUGIN_HANDLED; }
new players[32], inum, player, name[32], i, a;
get_players(players, inum);
console_print(id, "===============Realistic===============");
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, "===============Realistic===============")
i want a plugin that when u write /who, !who in chat to show to everyone a list of admins but in console as in the example above. IDK if exist some like this for cs:go so..
darkboss is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 04:47.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode