Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[JB]Başisyancı plugini
#18
Nobb dateline='' Wrote: Hemen Gelmesin Bence /basisyanci Yazınca Girse Daha Güzel Olur.


PHP Code:
#include <amxmodx> 
#include <fakemeta> 
#include <fun> 
#include <colorchat> 

#define PLUGIN "Bas Isyanci" 
#define VERSION "1.0" 
#define AUTHOR "akcaliberkk" 

new basisyanci

public 
plugin_init() { 
    
register_plugin(PLUGINVERSIONAUTHOR
    
    
register_clcmd("say /basisyanci","BasIsyanciSec")
    
register_clcmd("say_team /basisyanci","BasIsyanciSec")
    
register_forward(FM_Voice_SetClientListening"FwdSetVoice"); 
}
public 
BasIsyanciSec(id) { 
    if(
get_user_flags(id) & ADMIN_IMMUNITY) { 
        new 
menu menu_create("\yBas Isyanci Sec","menu_handler"
        
        new 
players[32],inum
        static 
tempid,szName[32],szID[6]; 
        
get_players(players,inum,"ace","TERRORIST"
        for(new 
i;i<inum;i++) { 
            
tempid players[i]; 
            
get_user_name(tempid,szName,31
            
num_to_str(tempid,szID,5
            
menu_additem(menu,szName,szID
        } 
        
menu_setprop(menu,MPROP_EXIT,MEXIT_ALL
        
menu_display(id,menu,0
    }  else {
        
ColorChat(idNORMAL"Bu komutu kullanma ^4yetkiniz^1 yok.")
    }
    return 
PLUGIN_HANDLED 

public 
menu_handler(id,menu,item) { 
    if(
item == MENU_EXIT) { 
        
menu_destroy(menu
        return 
PLUGIN_HANDLED 
    

    new 
access,callback
    new 
name[32],data[6]; 
    
    
menu_item_getinfo(menu,item,access,data,5,name,31,callback
    
    new 
Uid str_to_num(data); 
    new 
uname[32],admin[32]; 
    
get_user_name(id,admin,31
    
    if(
is_user_connected(Uid)) { 
        
get_user_name(Uid,uname,31
        
basisyanci Uid
        
ColorChat(Uid,GREEN,"BAS ISYANCI SECILDIN: ^3+100 HP +1 Flashbang +Mikrofon"
        
ColorChat(0,GREEN,"^3%s: %s ^1Adli Oyuncuyu ^4Bas Isyanci ^1Olarak Secti !",admin,uname
        
set_pev(Uid,pev_health,200.0
        
give_item(Uid,"weapon_flashbang"
    } 
    return 
PLUGIN_HANDLED 

public 
FwdSetVoice(receiversenderlisten) { 
    if(
get_user_team(sender) != && basisyanci != sender) { 
        
engfunc(EngFunc_SetClientListeningreceiversender0); 
        return 
FMRES_SUPERCEDE
    } 
    if(
sender == basisyanci && get_user_team(receiver) == 2) {
        
engfunc(EngFunc_SetClientListeningreceiversender0); 
        return 
FMRES_SUPERCEDE
    }
    return 
FMRES_IGNORED 
}  
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1254\\ deff0\\ deflang1055{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/ 


Say ve Say_Team Komutları:
Code:
say /basisyanci
say_team /basisyanci


Attached Files
.sma   basisyanci.sma (Size: 2.26 KB / Downloads: 53)
.amxx   basisyanci.amxx (Size: 7.53 KB / Downloads: 37)
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
Reply


Messages In This Thread
[JB]Başisyancı plugini - by aprdk - 16-08-13, 15:16
Cevap: [JB]Başisyancı plugini - by aprdk - 16-08-13, 17:10
Cevap: [JB]Başisyancı plugini - by JDM - 16-08-13, 19:43
Cevap: [JB]Başisyancı plugini - by aprdk - 17-08-13, 15:53
Cevap: [JB]Başisyancı plugini - by JDM - 20-08-13, 01:00
Cevap: [JB]Başisyancı plugini - by aprdk - 20-08-13, 08:30
Cevap: [JB]Başisyancı plugini - by aprdk - 20-08-13, 11:41
Cevap: [JB]Başisyancı plugini - by JDM - 20-08-13, 12:17
Cevap: [JB]Başisyancı plugini - by JDM - 21-08-13, 01:48
Cevap: [JB]Başisyancı plugini - by aprdk - 21-08-13, 03:30
Cevap: [JB]Başisyancı plugini - by JDM - 21-08-13, 11:03
Cevap: [JB]Başisyancı plugini - by Nobb - 21-08-13, 12:08
Cevap: [JB]Başisyancı plugini - by JDM - 21-08-13, 12:43
Cevap: [JB]Başisyancı plugini - by Nobb - 21-08-13, 13:53

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mapa Göre Cvar plugini melof 8 9,387 16-11-20, 02:00
Last Post: es_Dark_Es
  Time 15 Plugini fenerbahce07 24 12,146 23-09-18, 03:19
Last Post: qalatas06
  toplantı plugini bihterr 22 10,692 08-10-17, 14:21
Last Post: kronossbey
  Hosgeldin Plugini hpph1294 9 6,851 03-09-17, 18:08
Last Post: tahayasin
  Jailbreak Banka Plugini sefatokgoz 8 8,136 03-09-17, 18:06
Last Post: tahayasin
  [İSTEK]Jb Verme Plugini (/mg) NorDan 8 12,922 03-09-17, 18:06
Last Post: tahayasin
  250 Hp Plugini Sadece R Yetkisinde Olsun GurkanCounter 8 10,881 03-09-17, 18:04
Last Post: tahayasin
  [JB] CT Özel Hook Grab Rope Plugini Nobb 21 10,732 03-09-17, 18:03
Last Post: tahayasin
  Admin Zombie Model plugini satknun1997 3 3,809 01-01-17, 12:47
Last Post: RuLeT
  (JB) Can Revmenu plugini Furkan Dize 9 6,462 04-10-16, 23:35
Last Post: frozenbaba

Foruma Atla:


Users browsing this thread: 1 Guest(s)