Güzel fikir ama amx_sxe_banmenu daha iyi bir komut bence.
selam arkadaşlar sxebanmenu yapma gıbı bır sansımız var mı acaba ? banmenu gıbı ?
Güzel fikir ama amx_sxe_banmenu daha iyi bir komut bence.
İletişim;
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
olursa guzel olur bencede ilgilenen bırı olursa sevınırım
akcaliberkk ' e teşekkürler, Sxe Local Ban & Sxe Screen Shot eklentisinin üzerine yazdım menüyü.
PHP- Kodu:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <colorchat>
#define PLUGIN "Sxe Ban - SS - Sxe Ban Menu"
#define VERSION "1.1"
#define AUTHOR "akcaliberkk & peNgueN"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_sxe_ban","cmdBan",ADMIN_RCON,"<nick / #userid>")
register_concmd("amx_sxe_screen","cmdSS",ADMIN_BAN,"<nick / #userid>")
register_concmd("amx_sxeban_menu","cmdBanMenu",ADMIN_BAN, "Oyunculara Menuden Sxe Ban Atabilirsiniz." );
}
public cmdBanMenu( id, level, cid )
{
if(!cmd_access(id,level,cid,2)) return PLUGIN_HANDLED
if(!cvar_exists("__sxei_required")) {
console_print(id,"Bu Komutu Kullanmak Icin Sxe Injected Kurulu Olmalidir !")
return PLUGIN_HANDLED
}
new oyuncular[ 32 ], onum;
new isim[ 64 ], sira[ 10 ];
get_players( oyuncular, onum, "c" );
new iMenu[ 64 ];
formatex( iMenu, charsmax( iMenu ), "\wSXE BAN MENU" );
new menu = menu_create( iMenu, "BanMenuHandler" );
for( new i; i < onum; i++ )
{
new tempid = oyuncular[ i ];
if( tempid != id )
{
get_user_name( tempid, isim, charsmax( isim ) );
num_to_str( tempid, sira, charsmax( sira ) );
formatex( iMenu, charsmax( iMenu ), "\w%s", isim );
menu_additem( menu, iMenu, sira, 0 );
}
}
menu_display( id, menu );
return PLUGIN_HANDLED;
}
public BanMenuHandler( id, menu, item )
{
if( item == MENU_EXIT )
{
menu_cancel( menu );
return PLUGIN_HANDLED;
}
new Data[6], Name[64];
new Access, Callback;
menu_item_getinfo( menu, item, Access, Data, charsmax( Data ), Name, charsmax( Name ), Callback );
new tempid = str_to_num(Data);
if( !tempid ) return PLUGIN_HANDLED
if ( !is_user_connected( tempid ) ) return PLUGIN_HANDLED;
if ( is_user_bot( tempid ) ) return PLUGIN_HANDLED;
new hedefisim[ 64 ], adminisim[ 64 ], hedefauthid[ 64 ], adminauthid[ 64 ], hedefip[ 32 ], adminip[ 32 ], userid2;
get_user_name( tempid, hedefisim, charsmax( hedefisim ) );
get_user_name( id, adminisim, charsmax( adminisim ) );
get_user_authid( tempid, hedefauthid, charsmax( hedefauthid ) )
get_user_authid( id, adminauthid, charsmax( adminauthid ) )
get_user_ip( tempid, hedefip, charsmax( hedefip ), 0 );
get_user_ip( id, adminip, charsmax( adminip ), 0 );
userid2 = get_user_userid( tempid );
log_amx("[SXE LOCAL BAN] ADMIN: %s<%s><%s> Sxe-Local-Ban %s<%s><%s>", adminisim, adminauthid, adminip, hedefisim, hedefauthid, hedefip );
ColorChat(0,GREEN,"[SXEI] ^1ADMIN ^3%s ^4Sxe Local Ban ^3%s<%s><%s>", adminisim, hedefisim, hedefauthid, hedefip );
server_cmd("sxe_ban #%d",userid2);
menu_destroy( menu );
return PLUGIN_HANDLED;
}
public cmdBan(id,level,cid) {
if(!cmd_access(id,level,cid,2)) return PLUGIN_HANDLED
if(!cvar_exists("__sxei_required")) {
console_print(id,"Bu Komutu Kullanmak Icin Sxe Injected Kurulu Olmalidir !")
return PLUGIN_HANDLED
}
new Arg1[33],target;
read_argv(1,Arg1,32)
target = cmd_target(id, Arg1, 0)
if(!target) return PLUGIN_HANDLED
if (!is_user_connected(target)) return PLUGIN_HANDLED;
if (is_user_bot(target)) return PLUGIN_HANDLED;
new authid[32], authid2[32], name[32], name2[32], ip[32], ip2[32], userid2;
get_user_name(id,name,32)
get_user_name(target,name2,32)
get_user_authid(id,authid,31)
get_user_authid(target,authid2,31)
get_user_ip(id,ip,31,0)
get_user_ip(target,ip2,31,0)
userid2 = get_user_userid(target);
log_amx("[SXE LOCAL BAN] ADMIN: %s<%s><%s> Sxe-Local-Ban %s<%s><%s>",name,authid,ip,name2,authid2,ip2)
ColorChat(0,GREEN,"[SXEI] ^1ADMIN ^3%s ^4Sxe Local Ban ^3%s<%s><%s>",name,name2,authid2,ip2)
server_cmd("sxe_ban #%d",userid2)
return PLUGIN_HANDLED
}
public cmdSS(id,level,cid) {
if(!cmd_access(id,level,cid,2)) return PLUGIN_HANDLED
if(!cvar_exists("__sxei_required")) {
console_print(id,"Bu Komutu Kullanmak Icin Sxe Injected Kurulu Olmalidir !")
return PLUGIN_HANDLED
}
new Arg1[33],target;
read_argv(1,Arg1,32)
target = cmd_target(id,Arg1,0);
if(!target) return PLUGIN_HANDLED
if (!is_user_connected(target)) return PLUGIN_HANDLED;
if (is_user_bot(target)) return PLUGIN_HANDLED;
server_cmd("sxe_screen #%d #%d", get_user_userid(target), get_user_userid(id))
new nick1[32], nick2[32]
get_user_name(id, nick1, 31)
get_user_name(target, nick2, 31)
log_amx("[SXE SCREEN SHOT] ADMIN %s Screen Shot %s",nick1,nick2)
return PLUGIN_HANDLED
}
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Eklentiyle ilgili her türlü yardımı edebilirim.( jail shop hariç )
İletişim: hassel-vl
PHP- Kodu:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "SxeBanMenu"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"
#define ADMIN_FLAG ADMIN_RCON
new target[33];
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("amx_sxebanmenu","cmdSxeBanMenu")
register_clcmd("say /sxebanmenu","cmdSxeBanMenu")
if(!cvar_exists("__sxei_required")) {
set_fail_state("Bu plugini kullanabilmek icin Sxe Injected kurmalisiniz")
}
}
public cmdSxeBanMenu(id,level,cid) {
if(!access(id,ADMIN_FLAG)) {
console_print(id,"Yetkiniz yok")
client_print(id,print_chat,"[sXe] Yetkiniz yok")
return PLUGIN_HANDLED
}
new players[32],inum;
get_players(players,inum)
static tempid,name[32],szID[6];
new menu = menu_create("\r[sXe] \ySxe Ban Menu ^nOyuncu Secin","cmdSxeBanMenuHandle")
for(new i; i<inum; i++) {
tempid = players[i]
get_user_name(tempid,name,31)
num_to_str(tempid,szID,5)
menu_additem(menu,name,szID)
}
menu_display(id,menu)
return PLUGIN_HANDLED
}
public cmdSxeBanMenuHandle(id,menu,item) {
if(item == MENU_EXIT) {
menu_destroy(menu)
return PLUGIN_HANDLED
}
new name[32],szID[6],callback,access;
menu_item_getinfo(menu,item,access,szID,5,name,31,callback)
new tempid = str_to_num(szID)
if(!is_user_connected(tempid)) {
client_print(id,print_chat,"[sXe] Ilgili oyuncu bagli degil !")
return PLUGIN_HANDLED
}
target[id] = tempid;
ConfirmMenu(id)
return PLUGIN_HANDLED
}
public ConfirmMenu(id) {
new name[32]; get_user_name(target[id],name,31)
new text[128];
formatex(text,127,"\r[sXe] \ySxe Ban Menu ^n\r%s \yAdli \
Oyuncuyu Banlamak Uzeresiniz.^n Devam etmek istediginize emin misiniz ?",name)
new menu = menu_create(text,"ConfirmMenuHandle")
menu_additem(menu,"Devam Et","")
menu_additem(menu,"\rIptal","")
menu_setprop(menu,MPROP_EXIT,MEXIT_NEVER)
menu_display(id,menu)
return PLUGIN_HANDLED
}
public ConfirmMenuHandle(id,menu,item) {
if(!is_user_connected(target[id])) {
client_print(id,print_chat,"[sXe] Ilgili oyuncu bagli degil !")
menu_destroy(menu)
return PLUGIN_HANDLED
}
switch(item) {
case 1: {
target[id] = 0;
}
case 0: {
server_cmd("sxe_ban #%d",get_user_userid(target[id]))
new name[32],tname[32];
get_user_name(id,name,31)
get_user_name(target[id],tname,31)
client_print(0,print_chat,"[sXe] ADMIN %s Sxe Ban: %s",name,tname)
}
}
menu_destroy(menu)
return PLUGIN_HANDLED
}
EDIT: Sayfayi güncellemeyeli 1 saat olmuş kusura bakma penguen görmedim cevap attığını
Konu akcaliberkk tarafından (23-08-13 Saat 23:24 ) değiştirilmiştir.
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/
Teşekkürler...
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
En İyi Konularım:
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.
color="#ff0000">CSPLAGUE.com
Çözülmüş İsteklere Taşındı.
Steam ID: STEAM_1:0:70428872
Steam Name: Seps!s
Skype: jdm.csplague
Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
Albert Einstein
No sxe' id ban olsa güzel olmazmiydi ? Jailbreak serverlerde çok reklam var onlar için güzel önlem ?
Guzell