Güncel
Esselamun aleyküm;
İsteğimi açıklıyorum şöyle ki ;
El başı sadece CT'lere (İlk Round Hariç) belirlediğim oyunları oylama yaparak sadece CT'lere soracak oylama bittiğinde ise aşağıdan bilgilendirme mesaj geçecek diğer el seçilen oyun yazacak.Bu oyunları config/klasöründe bir .iniye yazabiliriz yada sizin bir öneriniz varsa öyle yapabiliriz şimdiden teşekkürler
Bu arada T'de en az 10 kişi var iken yapsın bu oylamayı CT'ye
Konu Furkan Dize tarafından (08-01-13 Saat 14:51 ) değiştirilmiştir.
[ OSMANLI IMP # F-TIPI JAILBREAK ]
[ İMAN AHLAK ADALET ]
[ Pit10 ]
-facebook-
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
-diğer sosyal ağlarımız-
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Güncel
[ OSMANLI IMP # F-TIPI JAILBREAK ]
[ İMAN AHLAK ADALET ]
[ Pit10 ]
-facebook-
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
-diğer sosyal ağlarımız-
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
CT ye çıkan oylamalar muhtemelen çoğunlukla berabere sonuçlanır. Zaten kaç CT var ki oylama yaptırmak istiyorsun ? Bunları göz önünde bulundurdun mu? yinede istersen yapayım ama bana pek mantıklı bir şey gelmedi
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz: destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/
Peki bunun bi cvar yetkisiyle sadece ctye mi yoksa bütün herkesemi soracağını ayarlar mısın ve şöyle birşey daha yapabilir misin oylama round başladıktan 6 saniye sonra sorsun oylamayı
[ OSMANLI IMP # F-TIPI JAILBREAK ]
[ İMAN AHLAK ADALET ]
[ Pit10 ]
-facebook-
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
-diğer sosyal ağlarımız-
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
configs klasörü içine oyun_listesi.ini adında bir dosya yarat. Oylanmasını istediklerini alt alta yaz.PHP- Kodu:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <colorchat>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
new const file[] = "addons/amxmodx/configs/oyun_listesi.ini";
new vote_opt_name[32][32];
new vote_opt[32];
new maxopts;
new pTeam;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
pTeam = register_cvar("amx_otovote_team","ALL")
register_event("HLTV", "eNewRound", "a", "1=0", "2=0")
register_logevent("eRoundEnd",2,"1=Round_End")
}
public eNewRound() {
set_task(6.0,"VoteMenuStart",56757923146)
}
public eRoundEnd() {
remove_task(45823345)
remove_task(56757923146)
}
public VoteMenuStart() {
for(new i;i<32;i++) {
vote_opt_name[i][0] = 0;
vote_opt[i] = 0;
maxopts = 0;
}
new players[32],p_szTeam[32],inum;
get_pcvar_string(pTeam,p_szTeam,31)
if(equali(p_szTeam,"CT") || equali(p_szTeam,"2")) get_players(players,inum,"e","CT")
else if(equali(p_szTeam,"T") || equali(p_szTeam,"1")) get_players(players,inum,"e","TERRORIST")
else get_players(players,inum)
new menu = menu_create("\yOyun Seciniz","VoteMenuHandler")
new maxlines = file_size(file,1);
new szOpt[31],txtlen,szData[6];
maxopts = maxlines;
for(new line;line<maxlines;line++) {
read_file(file,line,szOpt,31,txtlen)
num_to_str(line+1,szData,5)
menu_additem(menu,szOpt,szData,0)
copy(vote_opt_name[line+1],31,szOpt)
}
menu_setprop(menu,MPROP_EXIT,MEXIT_ALL)
for(new i;i<inum;i++) {
menu_display(players[i],menu,0)
}
set_task(20.0,"VoteBitir",45823345)
return PLUGIN_HANDLED
}
public VoteMenuHandler(id,menu,item) {
if(item == MENU_EXIT) {
menu_destroy(menu)
return PLUGIN_HANDLED
}
new data[6],name[32];
new access,callback;
menu_item_getinfo(menu,item,access,data,5,name,31,callback)
vote_opt[str_to_num(data)]++
return PLUGIN_HANDLED
}
public VoteBitir() {
new temp_max,temp_max_voteid;
for(new i=1;i<=maxopts;i++) {
if(vote_opt[i] > temp_max) {
temp_max = vote_opt[i];
temp_max_voteid = i;
}
}
ColorChat(0,GREEN,"Secilen Oyun: ^3%s",vote_opt_name[temp_max_voteid])
return PLUGIN_HANDLED
}
Örnek:
Cvar : amx_otovote_team <CT/T/ALL>Kod:Secenek 1 Secenek 2 Secenek 3
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz: destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/
Eyvallah hacı
[ OSMANLI IMP # F-TIPI JAILBREAK ]
[ İMAN AHLAK ADALET ]
[ Pit10 ]
-facebook-
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
-diğer sosyal ağlarımız-
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
[
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Çözülmüş İsteklere taşındı.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
CS:GO ve CS 1.6 için ücretli eklenti yapılır.
Plugin yazmak isteyenlere yardımcı olabilirim.
Skype adresimden ulaşabilirsiniz: destek_596
Steam: http://steamcommunity.com/id/ca-nemesis/