Cerere modificare plugin

Modificari necesare ale pluginurilor

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Locked
jdragonu2009
Membru, skill 0
Membru, skill 0
Posts: 70
Joined: 14 Jul 2013, 12:08
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

31 Dec 2013, 16:14

Salut imi modificati daca va rog un plugin de adminonline in modul urmator:

Sa fie doar 8 grade ( lasati va rog parantezele si punctele alea :)) doar numele schimbati) :

Detinator "abcdefghijklmnopqrstu" "a"
Owner "bcdefghijklmnopqrstu" "a"
Co-Owner "bcdefghijklmnopqrst" "a"
Moderator "bcdefghijklmnopqrt" "a"
Administrator "bcdefghijklmnopqt" "a"
Helper "bcdefghijklmnopt" "a"
V.I.P "bit" "ab"
Slot "b"


Sma-ul:

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Admine Show Motd"
#define VERSION "1.0"
#define AUTHOR "xXxAdyxXx;x"

#define CharsMax(%3) sizeof %3 - 3

#define MAX_GROUPS 10

new g_groupNames[MAX_GROUPS][] = {
"---==[ Detinator ]==---",
"---==[ Staff ]==---",
"---==[ Owner ]==---",
"---==[ Co-Owner ]==---",
"---==[ God`s ]==---",
"---==[ Moderator ]==---",
"---==[ Administrator ]==---",
"---==[ Helper ]==---",
"---==[ Slot ]==---",
"---==[ V.I.P ]==---"

}

new g_groupFlags[MAX_GROUPS][] = {
"abcdefghijklmnopqrstu",
"abcdegfhijmnopqrs",
"bcdefijmnopqrs",
"bcdefijmnopqr",
"bcdefijmnopq",
"bcdefijmno",
"bcefijmno",
"bcefojm",
"b",
"t"


}

new g_groupFlagsValue[MAX_GROUPS];

public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR);

for(new i = 0; i < MAX_GROUPS; i++)
g_groupFlagsValue = read_flags(g_groupFlags);

register_clcmd("say /admin", "cmdWho", -1, "");
register_clcmd("say /who", "cmdWho", -1, "");
register_clcmd("say /admins", "cmdWho", -1, "");
register_clcmd("say /whos", "cmdWho", -1, "");
}


public cmdWho(id)
{
static sPlayers[32], iNum, iPlayer;
static sName[32], sBuffer[1024];

static iLen;
iLen = formatex(sBuffer, sizeof sBuffer - 1, "<body bgcolor=#000000><font color=#7b68ee><pre>");
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen,"<center><h2>Admini online<font color=^"red^"><B></B></font></h2></center>^n^n");

get_players(sPlayers, iNum, "ch");

for(new i = 0; i < MAX_GROUPS; i++)
{
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<center><h5><font color=^"yellow^"><B>%s</B>^n</font></h5></center>", g_groupNames);

for(new x = 0; x < iNum; x++)
{
iPlayer = sPlayers[x];

if(get_user_flags(iPlayer) == g_groupFlagsValue)
{
get_user_name(iPlayer, sName, sizeof sName - 1);
iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "<center>%s^n</center>", sName);
}
}
}
show_motd(id, sBuffer, "Adminii Serverului");
return 0;
}
Last edited by jdragonu2009 on 31 Dec 2013, 16:20, edited 1 time in total.
Rapidserver
Cosmin
Fost moderator
Fost moderator
Posts: 9366
Joined: 06 Jul 2013, 21:08
Detinator Steam: Da
Detinator server CS: Nu
Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn
Has thanked: 492 times
Been thanked: 546 times

31 Dec 2013, 16:16

decand e xXxAdyxXx;x autor? /:) :|
jdragonu2009
Membru, skill 0
Membru, skill 0
Posts: 70
Joined: 14 Jul 2013, 12:08
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

31 Dec 2013, 16:21

Ce legatura are asta? :))) .. nu stiu eu l-am luat pluginul din addons lui kraid :)
jdragonu2009
Membru, skill 0
Membru, skill 0
Posts: 70
Joined: 14 Jul 2013, 12:08
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Has thanked: 1 time
Contact:

31 Dec 2013, 16:31

Multumesc mult :-j , l-am facut singur .. puteti da Topic/ CLosed !
User avatar
w3zoo_RedX
Membru, skill +2
Membru, skill +2
Posts: 737
Joined: 21 Dec 2013, 22:16
Detinator Steam: Da
CS Status: Scripter CS.
Detinator server CS: PM.
SteamID: PM.
Location: Bucuresti sector 2
Has thanked: 45 times
Been thanked: 45 times
Contact:

31 Dec 2013, 16:36

Ma scuzi dar trebuia sa postezi aici http://www.extreamcs.com/forum/pluginuri-cs/ data viitoare sa fi atent ;)
User avatar
sUperstar
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 3324
Joined: 01 Mar 2013, 23:08
Detinator Steam: Da
Reputatie: Restrictie moderator [abuz de functie]
Fost eXtream mod
Utilizator neserios (tepar!)
Has thanked: 41 times
Been thanked: 97 times

31 Dec 2013, 20:16

Mutat in sectiunea corespunzatoare!

1.5. Daca doriti MODIFICAREA unui plugin, postati la ACEASTA sectiune.
RIPPLE FAUCET - Castiga pana la 1 Ripple pe zi!
User avatar
h4wk
Fost moderator
Fost moderator
Posts: 3806
Joined: 22 Sep 2009, 12:10
Detinator Steam: Da
Reputatie: Fost eXtream Mod
Nume anterior : DaZ , zimpe , Dan eXtream
Location: Iasi
Has thanked: 305 times
Been thanked: 320 times
Contact:

09 Jan 2014, 15:11

TOPIC INCHIS !
MOTIV : Titlul trebuie sa fie concis si sa reflecte, pe cat de mult posibil, continutul. Nu mai sunt acceptate titlurile de genul "Cerere modificare plugin".

Code: Select all

"Daca ai culoare nu inseamna ca esti mai presus ca un utilizator. Culoare e un fel de "rasplata" pentru ca te implici in "ridicarea" acestei comunitati.
Unii nu realizeaza ca daca ai culoare nu inseamna ca esti smecher." -- by Alexey
:troll :troll

Spui ceva,dar faci altceva !
Locked

Return to “Modificari pluginuri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests