| Autor | Mesaj |
---|
Rank: Level 5 Sex : Data de inscriere : 20/04/2012 Stare de spirit : HaPpY;x | Subiect: Rock the vote [AMXX] Vin Apr 20, 2012 10:17 pm |
|
| Descriere: Cu acest plugin pe server-ul dvs., jucatorii pot vota pentru a porni votarea hartilor. Descarcare: http://www.esnips.co...hp?pid=20667150Instalare: 1. Fisierul rockthevote_custom.sma il puneti in addons/amxmodx/scripting. 2. Fisierul rockthevote_custom.amxx il puneti in addons/amxmox/plugins. 3. Intrati in addons/amxmodx/configs/plugins.ini si adaugati la sfarsit: Cod: rockthevote_custom.amxx Comenzi publice: say /rockthevote - voteaza pentru pornire votare harti. say rtv - voteaza pentru pornire votare harti. Cvar-uri: amx_timevote - dupa cate minute este permisa votarea. ( default 5 ) amx_howmanypercentage - procentajul de jucatori care trebuie sa voteze pentru ca votarea hartilor sa inceapa. ( default 0.3 ) = 30% amx_howmanyvotes - cati jucatori trebuie sa voteze ca votarea hartilor sa aiba loc. ( default 8 ) amx_rocktime - dupa cate secunda votarea se opreste iar server-ul schimba harta. ( default 10 ) amx_directmapchange - arata un mesaj un HUD runda urmatoarea cu harta care va fi schimbata cea curenta. ( |
| | | |
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);
|