Cerere Modificare plugin [Rezolvat]

Modificari necesare ale pluginurilor

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
User avatar
PGL-kaZzy
Membru Club eXtreamCS
Membru Club eXtreamCS
Posts: 40
Joined: 09 Mar 2019, 18:04
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: HERO.PLAYARENA.RO
SteamID: STEAM_0:1:160799157
Reputatie: Membru Club eXtreamCS (15 Noi)
Fond eXtream: 0
Has thanked: 2 times
Contact:

28 Oct 2019, 11:44

Salut
Doresc si eu acest plugin il facui bine dar nu il pot compila, mil pot compila cineva sau modifica ca habar nu am de ce nu merge.
Va multumesc.


#include <amxmodx>
#include <amxmisc>

#define MAX_GROUPS 14

new g_groupNames[MAX_GROUPS][] =
{
"[1] Fondator Acces FTP",
"[2] Fondator",
"[3] Leader",
"[4] Diamond",
"[5] Platinum",
"[6] Gold",
"[7] Owner's",
"[8] Co-Owner's",
"[9] Best-GOD's",
"[10] GOD's",
"[11] Moderator's",
"[12] Co-Moderator's",
"[13] Helper's"
"[13] Slot's"
}


// Add your flags here, the flags that you will add here, you need to add at users.ini
// for show the player name when a player write amx_who on console
new g_groupFlags[MAX_GROUPS][] =
{
"abcdefghijklmnopqrstu",
"abcdefghijklmnopqstu",
"abcdefghijlmnopqrstu",
"abcdefhijklmnopqrst",
"abcdefhijklmnopqrs",
"abcdefhijklmnopqs",
"abcdefhijkmnopqrst",
"bcdefhijkmnopqrst",
"bcdefhijkmnoqrst",
"bcdefhijkmnopt",
"bcdefhijmnop",
"bcfijdemnop",
"bceij",
"b"
}

new g_groupFlagsValue[MAX_GROUPS]

public plugin_init()
{
register_plugin
(
.plugin_name = "Amx who",
.version = "1.0",
.author = "EFFx"
)

register_concmd("amx_who", "cmdWho")

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)
for(i = 0; i < MAX_GROUPS; i++)
{
console_print(id, "Fury.LeagueCs.Ro", 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, "Fury.LeagueCs.Ro", name)
}
}
}
return PLUGIN_HANDLED
}
:fist_pointing_right: HERO.PLAYARENA.RO :left_point:
User avatar
Laurentiu P.
Fost moderator
Fost moderator
Posts: 2392
Joined: 10 Jul 2013, 20:26
Detinator Steam: Nu
Reputatie: Fost super moderator
Fond eXtream: 100
Has thanked: 15 times
Been thanked: 40 times
Contact:

28 Oct 2019, 11:50

"[13] Helper's",
"[13] Slot's"

Ai uitat de o virgula la "Helper"

Plus

Code: Select all

console_print(id, "Fury.LeagueCs.Ro", name)
Schimbi in

Code: Select all

client_print(id, print_console, "%s", name)
Plus 2

Code: Select all

console_print(id, "Fury.LeagueCs.Ro", g_groupNames)]
Schimbi in

Code: Select all

client_print(id, print_console, "%s", g_groupNames)
Ps: nu l-ai facut bine :boundlessly_laughing:
no...
User avatar
PGL-kaZzy
Membru Club eXtreamCS
Membru Club eXtreamCS
Posts: 40
Joined: 09 Mar 2019, 18:04
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: HERO.PLAYARENA.RO
SteamID: STEAM_0:1:160799157
Reputatie: Membru Club eXtreamCS (15 Noi)
Fond eXtream: 0
Has thanked: 2 times
Contact:

28 Oct 2019, 14:09

PGL-kaZzy wrote:
28 Oct 2019, 11:44
Salut
Doresc si eu acest plugin il facui bine dar nu il pot compila, mil pot compila cineva sau modifica ca habar nu am de ce nu merge.
Va multumesc.


#include <amxmodx>
#include <amxmisc>

#define MAX_GROUPS 14

new g_groupNames[MAX_GROUPS][] =
{
"[1] Fondator Acces FTP",
"[2] Fondator",
"[3] Leader",
"[4] Diamond",
"[5] Platinum",
"[6] Gold",
"[7] Owner's",
"[8] Co-Owner's",
"[9] Best-GOD's",
"[10] GOD's",
"[11] Moderator's",
"[12] Co-Moderator's",
"[13] Helper's"
"[13] Slot's"
}


// Add your flags here, the flags that you will add here, you need to add at users.ini
// for show the player name when a player write amx_who on console
new g_groupFlags[MAX_GROUPS][] =
{
"abcdefghijklmnopqrstu",
"abcdefghijklmnopqstu",
"abcdefghijlmnopqrstu",
"abcdefhijklmnopqrst",
"abcdefhijklmnopqrs",
"abcdefhijklmnopqs",
"abcdefhijkmnopqrst",
"bcdefhijkmnopqrst",
"bcdefhijkmnoqrst",
"bcdefhijkmnopt",
"bcdefhijmnop",
"bcfijdemnop",
"bceij",
"b"
}

new g_groupFlagsValue[MAX_GROUPS]

public plugin_init()
{
register_plugin
(
.plugin_name = "Amx who",
.version = "1.0",
.author = "EFFx"
)

register_concmd("amx_who", "cmdWho")

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)
for(i = 0; i < MAX_GROUPS; i++)
{
console_print(id, "Fury.LeagueCs.Ro", 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, "Fury.LeagueCs.Ro", name)
}
}
}
return PLUGIN_HANDLED
}


Mil poti face tu te rog?
:fist_pointing_right: HERO.PLAYARENA.RO :left_point:
User avatar
L E V I N
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 3007
Joined: 24 Aug 2011, 11:24
Detinator Steam: Da
CS Status:
Detinator server CS: ☯∴
SteamID: riseofevo
Reputatie: Scripter eXtreamCS
Nume anterior: Adryyy
Location: ҳ̸Ҳ̸ҳ
Has thanked: 39 times
Been thanked: 457 times
Contact:

28 Oct 2019, 18:13

Laurentiu P. wrote:
28 Oct 2019, 11:50
"[13] Helper's",
"[13] Slot's"

Ai uitat de o virgula la "Helper"

Plus

Code: Select all

console_print(id, "Fury.LeagueCs.Ro", name)
Schimbi in

Code: Select all

client_print(id, print_console, "%s", name)
Plus 2

Code: Select all

console_print(id, "Fury.LeagueCs.Ro", g_groupNames)]
Schimbi in

Code: Select all

client_print(id, print_console, "%s", g_groupNames)
Ps: nu l-ai facut bine :boundlessly_laughing:
console_print era corect
+
#define MAX_GROUPS 14 -> 13 .. mai sunt și numerotate=)))))))
Faceți cerere bine detaliată aici și respectând modelul dacă vreți ajutor. Nu-mi mai dați add doar pentru a mă avea în lista de prieteni.
Am cont și activez doar aici! Aveți grijă la cei ce încearcă să mă copieze..Puteți lua legătura cu mine dacă aveți o problemă/nelămurire în acest caz!
În cazul în care utilizați ceva din addonsurile postate de mine aici, e bine să fiți la curent cu modificările aduse unor plugine, aici, iar dacă sunt ceva probleme sau aveți dvs. probleme nu ezitați să luați legătura cu mine.
HOST CS1.6 - în lucru
User avatar
PGL-kaZzy
Membru Club eXtreamCS
Membru Club eXtreamCS
Posts: 40
Joined: 09 Mar 2019, 18:04
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: HERO.PLAYARENA.RO
SteamID: STEAM_0:1:160799157
Reputatie: Membru Club eXtreamCS (15 Noi)
Fond eXtream: 0
Has thanked: 2 times
Contact:

29 Oct 2019, 08:33

LEVIN te rog mil compilezi tu?
:fist_pointing_right: HERO.PLAYARENA.RO :left_point:
User avatar
PGL-kaZzy
Membru Club eXtreamCS
Membru Club eXtreamCS
Posts: 40
Joined: 09 Mar 2019, 18:04
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: HERO.PLAYARENA.RO
SteamID: STEAM_0:1:160799157
Reputatie: Membru Club eXtreamCS (15 Noi)
Fond eXtream: 0
Has thanked: 2 times
Contact:

29 Oct 2019, 12:17

Rezolvat era de la "[13] Helper's",
"[14] Slot's"
uitasem sa pun , si uitasem sa modific 13-14 cum a zis Laurentiu P.
Multumesc Laurentiu P.
Puteti da T/C
:fist_pointing_right: HERO.PLAYARENA.RO :left_point:
User avatar
faKe91
Fost moderator
Fost moderator
Posts: 1071
Joined: 07 Oct 2014, 17:49
Detinator Steam: Da
CS Status: I <3 Heavy Metal
SteamID: dogseatmypancreas
Reputatie: Fost moderator ajutator
Fost Membru Club eXtreamCS (doua luni)
Fond eXtream: 0
Location: Republica Moldova, Chișinău
Has thanked: 7 times
Been thanked: 11 times

04 Nov 2019, 09:01

Marcat ca rezolvat
Post Reply

Return to “Modificari pluginuri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests