| Autor | Mesaj |
---|
Rank: Moderator Sex : Data de inscriere : 28/02/2012 | Subiect: Amx_who by cLoSe? Mier Mar 21, 2012 4:05 am |
|
| Salut! Am facut si eu un plugin cand scrii /Admins sau /Who iti arata Adminii care sunt online si Ce Grade au .. :
Gradele :
#1 . ..::Creatorul-Serverului::.. #2 . ..::Leader Of AdminS::.. #3 . ..::Detinator::.. #4 . ..::Owner::.. #5 . ..::GoodS::.. #6 . ..::Semi-GoodS::.. #7 . ..::Super-Moderator::.. #8 . ..::Moderator::.. #9 . ..::Administrator::.. (Vine de la Admin-Server) #10 . ..::Helper::.. #11 . ..::SloT::..
Accese :
#1 . abcdefghijklmnopqrstu #2 . abcdefghijklmnopqrs #3 . abcdefghijlmnopqrs #4 . abcdefghijmnopq #5 . abcdefgijmnopq #6 . bcdefijmnop #7 . bcdefijmn #8 . bcdeijm #9 . bcdej #10 . bcde #11 . b
Versiune : AmxModX Autor :cLoSe? Instalare : Folderul .amxx il puneti in addons/amxmodx/plugins Folderul .sma il puneti in addons/amxmodx/scripting
Cod [ Selectati tot ] #include #include
#define PLUGIN "New AMXX Who" #define VERSION "1.0" #define AUTHOR "Alka"
#define CharsMax(%1) sizeof %1 - 1
#define MAX_GROUPS 11
new g_groupNames[MAX_GROUPS][] = {
"Creatorul-Serverului", "Leader Of Admin'S", "Owner", "GoodS", "Semi-GodS", "Super-Modreator", "Moderator", "Admin-Server", "Mini-Admin", "Helper", "SloT" }
new g_groupFlags[MAX_GROUPS][] = {
"abcdefghijklmnopqrstu", // <<>> "abcdefghijklmnopqrs", // <<>> "abcdefghijlmnopqrs", // <<>> "abcdefghijmnopq", // <<>> "abcdefgijmnopq", // <<>> "bcdefijmnop", // <<>> "bcdefijmn", // <<>> "bcdeijm", // <<>> "bcdej", // <<>> "bcde", // <<>> "b" //<<>> }
new g_groupFlagsValue[MAX_GROUPS];
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR);
for(new i = 0 ; i < MAX_GROUPS ; i++) g_groupFlagsValue[i] = read_flags(g_groupFlags[i]);
register_clcmd("amx_who", "cmdWho", -1, ""); register_clcmd("say /who", "cmdWho", -1, ""); register_clcmd("say /admins", "cmdWho", -1, ""); }
public cmdWho(id) { static sPlayers[32], iNum, iPlayer; static sName[32], sBuffer[1024];
static iLen; iLen = formatex(sBuffer, sizeof sBuffer - 1, ""); iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen,"[color:540b=^"red^"]Admins Online
^n^n");
get_players(sPlayers, iNum, "ch");
for(new i = 0; i < MAX_GROUPS ; i++) { iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "[color:540b=^"yellow^"]..::%s::..^n
", g_groupNames[i]);
for(new x = 0; x < iNum ; x++) { iPlayer = sPlayers[x];
if(get_user_flags(iPlayer) == g_groupFlagsValue[i]) { get_user_name(iPlayer, sName, sizeof sName - 1); iLen += formatex(sBuffer[iLen], CharsMax(sBuffer) - iLen, "%s^n", sName); } } } show_motd(id, sBuffer, "AMXX Who"); return 0; PT A LUA PLUGINUL ADD:valy_boss_stelistu_2010 |
| | |
Rank: Administrator Sex : Data de inscriere : 10/12/2011 | Subiect: Re: Amx_who by cLoSe? Mier Mar 21, 2012 4:06 am |
|
| mda da un link nu stii sa pui . daca cineva doreste sa descarce pluginu |
| | |
Rank: Utilizator Banat Data de inscriere : 20/03/2012 | Subiect: Re: Amx_who by cLoSe? Mier Mar 21, 2012 8:06 am |
|
| GhyRa Nu E FAcut de el:@:@:@ La Copiat De pe Vendetta De la AlexdBd |
| | |
Rank: Moderator Sex : Data de inscriere : 25/03/2012 | Subiect: Re: Amx_who by cLoSe? Joi Mar 29, 2012 6:12 am |
|
| Am mai vazut pluginul si pe cs-gothic si pe multe alte forumuri. Ar trebui un moderator sa stearga topicul asta |
| | |
Rank: Utilizator Banat Data de inscriere : 20/03/2012 | Subiect: Re: Amx_who by cLoSe? Vin Mar 30, 2012 4:34 am |
|
| MOTIV: COPIAT
|
| | |
Rank: | Subiect: Re: Amx_who by cLoSe? |
|
| |
| | | |
Subiecte similare | |
|
Pagina 1 din 1 | |
| Permisiunile acestui forum: | Nu puteti raspunde la subiectele acestui forum
| |
| | ');
iframeDoc.close();
pbjs.renderAd(iframeDoc, winningBid.adId);
} else {
let fallback_html = '' + adUnit.custom_fallback.replaceAll("scr' + 'ipt", "script");
iframe.contentDocument.open();
iframe.contentDocument.write(fallback_html);
iframe.contentDocument.close();
}
}
const sendAdserverRequest = () => {
if (pbjs.adserverRequestSent) return;
pbjs.adserverRequestSent = true;
adUnits.forEach(function(adUnit) {
renderWinningBidOrFallback(adUnit);
});
};
const requestBids = () => {
pbjs.adserverRequestSent = false;
pbjs.requestBids({
bidsBackHandler: sendAdserverRequest,
timeout: PREBID_TIMEOUT
});
};
pbjs.que.push(() => {
pbjs.setConfig({
"userSync": {
"syncEnabled": true,
"userIds": [
{
"name": "criteo"
}
],
"syncsPerBidder": 3,
"syncDelay": 3000,
"topics": {
"maxTopics": 5,
"vendors": [
"criteo"
]
}
},
"consentManagement": {
"gdpr": {
"cmpApi": "iab",
"timeout": 500,
"actionTimeout": 10000,
"defaultGdprScope": true,
"allowAuctionWithoutConsent": true
},
"usp": {
"cmpApi": "iab",
"timeout": 1000,
"allowAuctionWithoutConsent": true
}
},
"priceGranularity": {
"buckets": [
{
"precision": 2,
"min": 0,
"max": 5,
"increment": 0.01
},
{
"precision": 2,
"min": null,
"max": 8,
"increment": 0.02
},
{
"precision": 2,
"min": null,
"max": 15,
"increment": 0.05
},
{
"precision": 2,
"min": null,
"max": 20,
"increment": 0.1
},
{
"precision": 2,
"min": null,
"max": 50,
"increment": 0.5
}
]
},
"bidderSettings": {
"criteo": {
"storageAllowed": true
}
},
"paapi": {
"enabled": true,
"bidders": [
"criteo"
],
"defaultForSlots": 1,
"gpt": {
"configWithTargeting": false
}
},
"bidderConfig": {
"bidders": [
"criteo"
],
"config": {
"ortb2": {
"user": {
"ext": {
"consent": {
"source": "sirdata",
"gdprApplies": true
},
"data": {
"eids": [
{
"source": "all-up.com",
"uids": [
{
"id": "d41d8cd98f00b204e9800998ecf8427e",
"atype": 3,
"ext": {
"stype": "hemmd5"
}
},
{
"id": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"atype": 3,
"ext": {
"stype": "hemsha256"
}
}
]
}
]
}
}
}
}
}
}
});
pbjs.addAdUnits(adUnits);
requestBids();
});
setTimeout(() => { sendAdserverRequest(); }, FAILSAFE_TIMEOUT);
|