CSPLague
Farklı GHR Plugini (İSTEK) - 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: Farklı GHR Plugini (İSTEK) (/showthread.php?tid=8171)



Farklı GHR Plugini (İSTEK) - batjeffmatt - 27-07-13

Merhaba arkadaşlar sizden 1 tane plugin isteyeceğim.

1.Arkadaşlar muhtemelen GHR pluginini editleyeceksiniz.İstedğim şudur: yalnızca ct de çalışsın ve ct ye geçtiğinizde /ayar yazdığınızda otomatik olarak mesela c ye hook x e rope z ye ise grab ayarlıcaksiz bunun ıcın cok urastım yapamadım ve ColorChat mesajdan hangi tuşa ne ayarlandıysa o yazacak.

akcaliberkk bekliyorum şimdiden teşekkürler...


Cevap: Farklı GHR Plugini (İSTEK) - akcaliberkk - 27-07-13

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

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


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /ayar","cmdAyar")
}
public 
cmdAyar(id) {
    
client_cmd(id,"bind c +hook;bind x +rope;bind z +grab")




Cevap: Farklı GHR Plugini (İSTEK) - batjeffmatt - 27-07-13

saol bi deniyim


Cevap: Farklı GHR Plugini (İSTEK) - batjeffmatt - 27-07-13

güzel çalışıyor ama ben ona colorchat ekledim bilgi olsun die t deyken de yazıncada o colorchat cıkıo onu sadece ct ye cıkmaya nasıl ayarlayabılırım


Cevap: Farklı GHR Plugini (İSTEK) - akcaliberkk - 27-07-13

eklediğin colorchati sil, burdan düzenle:

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

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


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /ayar","cmdAyar")
}
public 
cmdAyar(id) {
    if(
get_user_team(id) == 2) {
        
client_cmd(id,"bind c +hook;bind x +rope;bind z +grab")
        
ColorChat(id," **** Mesajin **** ")
    }
}  
stock ColorChat(const id, const string[], {FloatSqlResul,_}:...) {
    new 
msg[191], players[32], count 1;
    
    static 
len;
    
len formatex(msgcharsmax(msg), "^x01" );
    
vformat(msg[len], charsmax(msg) - lenstring3);
    
    if(
id)players[0] = id;
    else 
get_players(players,count,"ch");
    
    for (new 
0counti++){
        
        if(
is_user_connected(players[i])){
            
            
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"),_players);
            
write_byte(players);
            
write_string(msg);
            
message_end();
        }
    }
    return;

[/i][/i][/i]


Cevap: Farklı GHR Plugini (İSTEK) - batjeffmatt - 27-07-13

tamam


Cevap: Farklı GHR Plugini (İSTEK) - batjeffmatt - 27-07-13

ag.sma(23) : error 025: function heading differs from prototype
ag.sma(23) : error 025: function heading differs from prototype
ag.sma(23) : error 021: symbol already defined: "ColorChat"
ag.sma(23) : fatal error 107: too many error messages on one line



böyle bir hata aldım


Cevap: Farklı GHR Plugini (İSTEK) - Nobb - 27-07-13

Compile Aracı İle Compile Ediniz.Hatta Konu Bile Açıldı.Siteden Tabi Edemezsiniz.Çünkü ColorChat Olmuyor Sitede.Ben Sizin İçin Upload Ettim.

Buyur ;



Cevap: Farklı GHR Plugini (İSTEK) - akcaliberkk - 14-08-13

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