⭐🚀 TkyNET | Blacklist ve Profesyonel DDoS Korumalı TeamSpeak 3 Sunucuları 🚀⭐
Sponsor Görsel
SponsorSponsor

Eklentidüzeltme

eklentidüzeltme
#pragma semicolon 1
#include <amxmodx>
#include <reapi>
#define dolar 500
new const tag[]="!n[!tThe`Best!n]: "; //TAG
new const information[]="Say!g'!ndan !tilove you the best !gyazarak !npara !gkazanabilirsiniz!n."; //BILGI
new const via[3][12]={"Auto Answer","0.1","Aconyonn"};
public plugin_init()register_plugin(via[0],via[1][0],via[2][0]),register_clcmd("say","sayh"),register_event("HLTV","Round_Start","a","1=0","2=0");
public Round_Start()set_task(10.0,"inf",0);
public inf(id) renkli_yazi(id,"%s%s",tag,information);
public sayh(id){
    new arg[128];read_args(arg,charsmax(arg));remove_quotes(arg);
    formatex(arg,charsmax(arg),"%s ",arg);
    if(((arg[0]=='i'&&arg[1]=='l'&&arg[2]=='o'&&arg[3]=='v'&&arg[4]=='e')||(arg[0]==' '&&arg[1]=='y'&&arg[2]=='o'&&arg[3]=='u')||(arg[0]==' '&&arg[1]=='t'&&arg[2]=='h'&&arg[3]=='e')||(arg[0]==' '&&arg[1]=='b'&&arg[2]=='e'&&arg[3]=='s'&&arg[4]=='t')))set_task(1.0,"directs",id);
    return PLUGIN_CONTINUE;
}
public directs(id) rg_add_account(id,dolar,AS_ADD),renkli_yazi(id,"%s !gBizde !tseni seviyoruz!n.",tag);
#if AMXX_VERSION_NUM < 183
    stock renkli_yazi(const id,const input[],any:...){
        new count=1,players[32];
        static msg[191]; vformat(msg,charsmax(msg),input,3);
        replace_all(msg,charsmax(msg),"!g","^1"); // Default Renk(Sarı)
        replace_all(msg,charsmax(msg),"!n","^4"); // Yeşil Renk
        replace_all(msg,charsmax(msg),"!t","^3"); // Takım Renk( CT mavi , T kırmızı )
        replace_all(msg,charsmax(msg),"!x","^0"); // Takım Renk( CT mavi , T kırmızı )
        if(id) players[0]=id; else get_players(players,count,"ch");{
            for (new i=0;i<count;i++){
                if(is_user_connected(players[i])){
                    message_begin(MSG_ONE_UNRELIABLE,get_user_msgid("SayText"),_,players[i]);
                    write_byte(players[i]),write_string(msg),message_end();
                }
            }
        }
    }
#else
    stock renkli_yazi(const id,const input[],any:...){
        static msg[191]; vformat(msg,charsmax(msg),input,3);
        replace_all(msg,charsmax(msg),"!g","^1"),replace_al


BU EKLENTİYİ HER ELDE 1 KEZ VERİCEK ŞEKİLDE DÜZENLİYE BİLİRMİYİZ
.smailove.sma(Dosya Boyutu: 2,1 KB | İndirme Sayısı: 1)
RE: eklentidüzeltme
PHP Kod:
#pragma semicolon 1
#include <amxmodx>
#include <reapi>
#define dolar 500
new bool: Kontrol[33];
new const 
tag[]="!n[!tThe`Best!n]: "; //TAG
new const information[]="Say!g'!ndan !tilove you the best !gyazarak !npara !gkazanabilirsiniz!n."; //BILGI
new const via[3][12]={"Auto Answer","0.1","Aconyonn"};
public 
plugin_init()register_plugin(via[0],via[1][0],via[2][0]),register_clcmd("say","sayh"),register_event("HLTV","Round_Start","a","1=0","2=0");

public 
Round_Start()
{
    for(new 
i; i < get_playersnum(); i++) Kontrol[i] = false;
    
set_task(10.0,"inf", 0);
}
public 
inf(id) renkli_yazi(id,"%s%s",tag,information);
public 
sayh(id){
    new arg[128];read_args(arg,charsmax(arg));remove_quotes(arg);
    formatex(arg,charsmax(arg),"%s ",arg);
    if(!Kontrol[id])
    {
    if(((
arg[0]=='i'&&arg[1]=='l'&&arg[2]=='o'&&arg[3]=='v'&&arg[4]=='e')||(arg[0]==' '&&arg[1]=='y'&&arg[2]=='o'&&arg[3]=='u')||(arg[0]==' '&&arg[1]=='t'&&arg[2]=='h'&&arg[3]=='e')||(arg[0]==' '&&arg[1]=='b'&&arg[2]=='e'&&arg[3]=='s'&&arg[4]=='t')))set_task(1.0,"directs",id);
     }
    return PLUGIN_CONTINUE;
}
public 
directs(id) rg_add_account(id,dolar,AS_ADD),renkli_yazi(id,"%s !gBizde !tseni seviyoruz!n.",tag);

stock renkli_yazi(const ID, const input[], any:...)
{
    new 
Count = 1, Players[32];
    static 
Message[191];
    
vformat(Message, 190, input, 3);
    
    
/* ^1 | ^x01 --> Yellow */
    /* ^4 | ^x04 --> Green */
    /* ^3 | ^x03 --> Team Color */
        
    
replace_all(Message, 190, "^1", "^x01");
    
replace_all(Message, 190, "^4", "^x04");
    
replace_all(Message, 190, "^3", "^x03");
    
    if(
ID) Players[0] = ID; else get_players(Players, Count, "ch");
    {
        for(new 
i = 0; i < Count; i++)
        {
            if(
is_user_connected(Players[i]))
            {
                
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, Players[i]);
                
write_byte(Players[i]);
                
write_string(Message);
                
message_end();
            }
        }
    }
} 
Linksta
RE: eklentidüzeltme
olmadı Üzgünüm
RE: eklentidüzeltme
PHP Kod:
#pragma semicolon 1
#include <amxmodx>
#include <reapi>
#define dolar 500
new bool: Kontrol[33];
new const 
tag[]="!n[!tThe`Best!n]: "; //TAG
new const information[]="Say!g'!ndan !tilove you the best !gyazarak !npara !gkazanabilirsiniz!n."; //BILGI
new const via[3][12]={"Auto Answer","0.1","Aconyonn"};
public 
plugin_init()register_plugin(via[0],via[1][0],via[2][0]),register_clcmd("say","sayh"),register_event("HLTV","Round_Start","a","1=0","2=0");

public 
Round_Start()
{
    for(new i; i < get_playersnum(); i++) Kontrol[i] = false;
    set_task(10.0,"inf", 0);
}
public 
inf(id) renkli_yazi(id,"%s%s",tag,information);
public 
sayh(id){
    new arg[128];read_args(arg,charsmax(arg));remove_quotes(arg);
    formatex(arg,charsmax(arg),"%s ",arg);
    if(!Kontrol[id])
    {
    if(((arg[0]=='i'&&arg[1]=='l'&&arg[2]=='o'&&arg[3]=='v'&&arg[4]=='e')||(arg[0]==' '&&arg[1]=='y'&&arg[2]=='o'&&arg[3]=='u')||(arg[0]==' '&&arg[1]=='t'&&arg[2]=='h'&&arg[3]=='e')||(arg[0]==' '&&arg[1]=='b'&&arg[2]=='e'&&arg[3]=='s'&&arg[4]=='t')))set_task(1.0,"directs",id);
     }
    return PLUGIN_CONTINUE;
}
public 
directs(id) Kontrol[id] = true, rg_add_account(id,dolar,AS_ADD),renkli_yazi(id,"%s !gBizde !tseni seviyoruz!n.",tag);

stock renkli_yazi(const ID, const input[], any:...)
{
    new Count = 1, Players[32];
    static Message[191];
    vformat(Message, 190, input, 3);
    
    
/* ^1 | ^x01 --> Yellow */
    /* ^4 | ^x04 --> Green */
    /* ^3 | ^x03 --> Team Color */
        
    replace_all
(Message, 190, "^1", "^x01");
    replace_all(Message, 190, "^4", "^x04");
    replace_all(Message, 190, "^3", "^x03");
    
    
if(ID) Players[0] = ID; else get_players(Players, Count, "ch");
    {
        for(new i = 0; i < Count; i++)
        {
            if(is_user_connected(Players[i]))
            {
                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, Players[i]);
                write_byte(Players[i]);
                write_string(Message);
                message_end();
            }
        }
    }
} 
Linksta
eklentidüzeltme
Konunuz "Çözülmüş İsteklere" taşınmıştır.
Linksta

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da
Konuyu Okuyanlar: 1 Ziyaretçi
Task