Cerere modificare plugin

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
alex121223
Membru, skill 0
Membru, skill 0
Posts: 9
Joined: 28 Jul 2018, 21:06
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

31 Jul 2018, 08:09

salut imi face si mie cineva gradele ca sa aibe acces la amx_gag ca nu merge ?
| Afiseaza codul
#include <amxmodx>
#include <amxmisc>

#define MAX_GROUPS 19

new g_groupNames[MAX_GROUPS][] = {
	"SeFu A'l MarE",
	"Owner",
	"Owner + VIP",
	"Co-owner",
	"Co-owner + VIP",
	"Amiral",
	"Amiral + VIP",
	"Maresal",
	"Maresal + VIP",
	"General",
	"General + VIP",
	"Colonel",
	"Colonel +VIP",
	"Maior",
	"Maior + VIP ",
	"Sergent",
	"Sergent + VIP",
	"Slot",
	"V.I.P`s"
}

new g_groupFlags[MAX_GROUPS][] = {
	"abcdefghijklmnopqrstu",
	"abcdefghijklmnopqru",
	"abcdefghijklmnopqrtu",
	"abcdefijmnopqru",
	"abcdefijmnopqrtu",
	"bcdefijmnopqr",
	"bcdefijmnopqrt",
	"bcdefijmnopq",
	"bcdefijmnopqt",
	"bcdefijmnop",
	"bcdefijmnopt",
	"bcdefijmno",
	"bcdefijmnot",
	"bcefijmno",
	"bcefijmnot",
	"bcefijmo",
	"bcefijmot",
	"b",
	"t"
}

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);
	register_concmd("admin_who", "cmdWho", 0);
	for(new i = 0; i < MAX_GROUPS; i++) 
	{
		g_groupFlagsValue = read_flags(g_groupFlags)
	}
}

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);
		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, "==============================")
	return PLUGIN_HANDLED
}
Last edited by j a h k 0- on 19 Sep 2018, 15:18, edited 1 time in total.
Reason: Edit: Am adaugat [Sursa=]
RoyalServer 2
Cr3atur3Bhop
Membru, skill 0
Membru, skill 0
Posts: 2
Joined: 31 Jul 2018, 10:46
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

31 Jul 2018, 10:54

| Afiseaza codul
#include <amxmodx>
#include <amxmisc>
#define MAX_GROUPS 19
new g_groupNames[MAX_GROUPS][] = {
   "SeFu A'l MarE",
   "Owner",
   "Owner + VIP",
   "Co-owner",
   "Co-owner + VIP",
   "Amiral",
   "Amiral + VIP",
   "Maresal",
   "Maresal + VIP",
   "General",
   "General + VIP",
   "Colonel",
   "Colonel +VIP",
   "Maior",
   "Maior + VIP ",
   "Sergent",
   "Sergent + VIP",
   "Slot",
   "V.I.P`s"
}
new g_groupFlags[MAX_GROUPS][] = {
   "abcdefghijklmnopqrstu",
   "abcdefghijklmnopqru",
   "abcdefghijklmnopqrtu",
   "abcdefijmnopqru",
   "abcdefijmnopqrtu",
   "bcdefijmnopqr",
   "bcdefijmnopqrt",
   "bcdefijmnopq",
   "bcdefijmnopqt",
   "bcdefijmnop",
   "bcdefijmnopt",
   "bcdefijmno",
   "bcdefijmnot",
   "bcefijmno",
   "bcefijmnot",
   "bcefijmo",
   "bcefijmot",
   "b",
   "t"
}
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 = read_flags(g_groupFlags)
}
}
public cmdWho(id) {
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)
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, "==============================")
return PLUGIN_HANDLED
}

sper ca am ajutat
User avatar
Laurentiu P.
Fost moderator
Fost moderator
Posts: 2549
Joined: 10 Jul 2013, 21:26
Detinator Steam: Da
Reputatie: Fost super moderator
Fond eXtream: 100
Has thanked: 26 times
Been thanked: 62 times
Contact:

31 Jul 2018, 12:15

Cr3atur3Bhop wrote:
#include <amxmodx>
#include <amxmisc>
#define MAX_GROUPS 19
new g_groupNames[MAX_GROUPS][] = {
"SeFu A'l MarE",
"Owner",
"Owner + VIP",
"Co-owner",
"Co-owner + VIP",
"Amiral",
"Amiral + VIP",
"Maresal",
"Maresal + VIP",
"General",
"General + VIP",
"Colonel",
"Colonel +VIP",
"Maior",
"Maior + VIP ",
"Sergent",
"Sergent + VIP",
"Slot",
"V.I.P`s"
}
new g_groupFlags[MAX_GROUPS][] = {
"abcdefghijklmnopqrstu",
"abcdefghijklmnopqru",
"abcdefghijklmnopqrtu",
"abcdefijmnopqru",
"abcdefijmnopqrtu",
"bcdefijmnopqr",
"bcdefijmnopqrt",
"bcdefijmnopq",
"bcdefijmnopqt",
"bcdefijmnop",
"bcdefijmnopt",
"bcdefijmno",
"bcdefijmnot",
"bcefijmno",
"bcefijmnot",
"bcefijmo",
"bcefijmot",
"b",
"t"
}
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 = read_flags(g_groupFlags)
}
}
public cmdWho(id) {
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)
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, "==============================")
return PLUGIN_HANDLED
}

sper ca am ajutat

Ce ai facut e egal cu zero.

Ce flag la comamda ai / ce plugin de gag folosesti?
no...
BB # Funnky
Membru, skill 0
Membru, skill 0
Posts: 35
Joined: 25 Apr 2018, 20:46
Detinator Steam: Da
CS Status: Ma mai gandesc :))
Detinator server CS: CS.HelpCS.RO
Fond eXtream: 0
Location: Piatra-Neamt
Contact:

01 Aug 2018, 01:01

Lasă sursa de la GAG aici.
| Afiseaza codul
 CS.HelpCS.RO - STEAM ONLY CAUTAM ADMINI CE POT AJUTA LA DEZVOLTAREA SERVER-ULUI! 
 WWW.HelpCS.RO/forum - OFERIM SUPORT TEHNIC 
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 23 guests