Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hata
#1
Şimdi Şu Aşağıdaki Komutlarda Nerde hata var combile ederken chat_coloru gösteriyor fakat.

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

#define PLUGIN "CTMenu"
#define VERSION "1.0.0"
#define AUTHOR "Nefesim" 

include ettim colorchatı fakat hata veriyor sorun nerdee ?



PHP Code:
case 1: {            
set_user_godmode(id,1)            
server_cmd("amx_heal @CT 99999")            
chat_color(id,"!t[CSP] !gCT God Mod Aktif Edildi.!")            
chat_color(id,"!t[CSP] !gCT God Mod Aktif Edildi.!")


Nefesim Fark Yaratırmı ?
Reply
#2
colorchat kütüphanesinin fonksiyonu farklı. Bu color_chat stock versiyonu.

ColorChat(id, GREEN, "^3[CSP] ^4CT God Mod Aktif Edildi.!")

olarak değiştir. Bu arada renk kodları:

^1 - Normal - con_color rengi - genelde sarı
^3 - takım rengi
^4 - yeşil


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/

Reply
#3
Peki bu fonksiyonu farklı olanın incsini nerden bulabiliriz.

Burada konu çözülmüşlere taşınsın.

burada yardım için teşekkürler.
Nefesim Fark Yaratırmı ?
Reply
#4
Bu fonksiyonun başka kütüphanesi yok. Başka şekilde yalnızca stock sayesinde yapabilirsin.
chat_color stock:


PHP Code:
stock chat_color(const id, const input[], any:...) 

    new 
count 1players[32
    static 
msg[191
    
vformat(msg190input3
     
    
replace_all(msg190"!g""^4"
    
replace_all(msg190"!y""^1"
    
replace_all(msg190"!t""^3"
    
replace_all(msg190"!team2""^0"
     
    if (
idplayers[0] = id; else get_players(playerscount"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(); 
            } 
        } 
    } 


Örnek Kullanım:

chat_color(id,"!gOrnek !yKullanim")

Kullanımı:
Chat_Color Stock unu plugin de bir yere yapıştır -herhangi bir public içine değil- . Daha sonra örnek kullanımda yazdığım şekilde kullanabilirsin.[/i][/i][/i]
uhcakiP
Özel Plugin Kodlanır!

Steam_ID = STEAM_0:0:54912140
Steam_Nick = Ragnar Lothbrok
https://steamcommunity.com/id/lothbrok
Reply
#5
Tamam Anladım.
Nefesim Fark Yaratırmı ?
Reply
#6
Çözülmüş İsteklere taşındı.


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/

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Plugindeki hata düzeltme caglarinhesap 6 5,085 17-08-18, 20:19
Last Post: dangarma16
  Host_Error: UserMsg: Not Present on Client 16 bu hata verıyor 2 uc kes buyukısyanda veli067 8 10,283 01-07-15, 01:49
Last Post: mendark06s
  Pluginde hata lütfen yardım :) tarlacixx 2 4,957 10-04-15, 12:45
Last Post: kedusa
  [JB] Jailbreak Shop (Compile Ederken Hata Veriyor) Nobb 7 6,207 14-01-15, 21:18
Last Post: Neith
  Plugindeki hata düzeltme caglarinhesap 5 5,102 21-08-14, 00:35
Last Post: recep2
  [Hata] Oyuncu İsim Algılama Hatası Dexterz 3 3,433 16-07-14, 05:27
Last Post: JellyB0N
  /meslekmenu hata!! ankaraLI 9 6,487 15-07-14, 19:44
Last Post: bilbaz
  [JB] CT Shop (Çevirirken Hata Veriyor) Nobb 37 8,952 23-03-14, 23:01
Last Post: Nobb
  [JB] JailBreak Shop Çevirirken Hata Veriyor Nobb 11 5,610 20-02-14, 00:16
Last Post: btnbaba007
  [JB] JailBreak Shop (Çevirirken Hata Veriyor) Nobb 8 5,042 03-02-14, 23:51
Last Post: Nobb

Foruma Atla:


Users browsing this thread: 1 Guest(s)