[Plugin] amx_who

أضف رد جديد
صورة العضو الرمزية
مشاركات: 24
اشترك في: السبت مارس 14, 2015 1:01 am

[Plugin] amx_who

مشاركة بواسطة arvEL.-™ » السبت مارس 14, 2015 7:59 am

hi guys. this plugin work to show informastion about your team in the server
when you write amx_who in console the server will show to you info about your team
who is owner?? who is co-owner and more..
you can change access about flag from user.ini

كود: تحديد الكل

#include <amxmodx>
#include <amxmisc>
#define MAX_GROUPS 9
new g_groupNames[MAX_GROUPS][] = {
new g_groupFlags[MAX_GROUPS][] = {
new g_groupFlagsValue[MAX_GROUPS]
public plugin_init() {
register_plugin("Amx Who by eXtream", "1.0", "eXtreamCS.com")
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, "===ADMINISTRATORS===");
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, "===ADMINISTRATORS===");
just make compile or you can download .amxx file
from this link: http://www.girlshare.ro/34560669
NOTE: this plugin has been developed by arvEL.-
HighLifeZM.CsBlackDevil.Com []

أضف رد جديد