CSPLague
Baş isyancı - Printable Version

+- CSPLague (https://www.csplague.com)
+-- Forum: CS 1.6 Plugin (Eklenti) Bölümü (https://www.csplague.com/forumdisplay.php?fid=6)
+--- Forum: [İSTEK] Cs 1.6 Plugin İstek Bölümü (https://www.csplague.com/forumdisplay.php?fid=80)
+---- Forum: Çözülmüş İstekler (https://www.csplague.com/forumdisplay.php?fid=87)
+---- Thread: Baş isyancı (/showthread.php?tid=9188)

Pages: 1 2 3


Cevap: Baş isyancı - cleanboy - 09-12-13

zaten plugınde oyle dıyorum tamam anladım yapamıyorsun yapan bırısı cevaplasın o zaman Smile


Cevap: Baş isyancı - cleanboy - 09-12-13

skc0011 plugini bozmussun hocam t'deki herkez mic basabiliyor + ct mic basamıyor berbat olmus ne yaptın sen boyle


Cevap: Baş isyancı - skc0011 - 09-12-13

Bunu Dene.




Cevap: Baş isyancı - cleanboy - 09-12-13

modellerı kaldır demıstım aynısını yenıden atmıssın model olunca server cokuyor


Cevap: Baş isyancı - akcaliberkk - 10-12-13

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

#define PLUGIN "New Plug-In" 
#define VERSION "1.0" 
#define AUTHOR "author" 

new bool:blocked[33]; 
new 
basisyanci
public 
plugin_init() { 
    
register_plugin(PLUGINVERSIONAUTHOR
    
    
register_clcmd("say /sec""BasIsyanciSec"
    
register_forward(FM_Voice_SetClientListening"FwdSetVoice"); 
    
register_event("HLTV","eNewRound","a","1=0","2=0"
    
    
}
public 
BasIsyanciSec(id) { 
    if(
cs_get_user_team(id) == CS_TEAM_CT
    { 
        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
    } 
    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 
eNewRound() { 
    new 
players[32],inum
    
get_players(players,inum
    static 
id
    for(new 
i;i<inum;i++) { 
        
id players
        
blocked[id] = true
        
        if(
get_user_team(id) == 1) { 
            
cs_reset_user_model(id)
        } 
    } 
    
basisyanci 0

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 


Direk kaldırmayı denedim ama bilmiyorum sorun çıkarır mı. Bir dene sen.[/i][/i]


Cevap: Baş isyancı - cleanboy - 10-12-13

oldu tesekkurler bir sorun daha var her el komutcu bas ısyancı secmek zorunda kalıyor bır kere secılen kalsın map degısene kadar yoksa her el /sec yazıp ısyancı secıyoruz cok kotu oluyor


Cevap: Baş isyancı - JDM - 15-12-13

Çözülmüş İsteklere Taşındı.