Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
/rocket yazinca sesli roket atan pl
#10
peNgueN dateline='' Wrote: Bunun çalışacağını düşündün mü hiç ?

Bunu ekleyebilirsiniz:

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

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <csx>

#define PLUGIN "Roket Geri Sayim :P"
#define VERSION "1.0"
#define AUTHOR "akcaliberkk"

#define ADMIN_FLAG ADMIN_KICK
#define STARTTIME 10

new bool:counting_down;
new 
countdown

new 
g_CountDown[][] = {
    
    
"fvox/time_is_now.wav",
    
"fvox/one.wav",
    
"fvox/two.wav",
    
"fvox/three.wav",
    
"fvox/four.wav",
    
"fvox/five.wav",
    
"fvox/six.wav",
    
"fvox/seven.wav",
    
"fvox/eight.wav",
    
"fvox/nine.wav",
    
"fvox/ten.wav"
}

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /rocket","CountDownBegin");
}

public 
plugin_precache()
{
    for( new 
isizeof g_CountDowni++ )
        
precache_soundg_CountDown] );
}

public 
CountDownBegin(id) {
    if(!
access(id,ADMIN_FLAG) || get_user_team(id) != 2) return
    if(
counting_down) {
        
ColorChat(id,"^4Zaten Suanda Geri Sayim Yapiliyor !");
        return;
    }
    
    
ColorChat(id,"^4%d Saniye Sonra Roket Atilacak !"STARTTIME)
    
client_cmd0"spk %s"g_CountDownSTARTTIME ] ); 
    
countdown STARTTIME
    counting_down 
true;
    
set_task(1.0,"FuncCountDown");
}
public 
FuncCountDown(id) {
    if(!
countdown) {
        
server_cmd("amx_rocket @T")
        
counting_down false;
    }
    else {
        
countdown--;
        
set_task(1.0,"FuncCountDown");
        
client_cmd0"spk %s"g_CountDowncountdown ] ); 
        
ColorChat(id,"^4Roket Atilmasina %d Saniye !"countdown );
    }
}
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;

@peNgueN

Benim Attığım Dosyada 1 Hata Vardı Big Grin

O Hatayı Nasıl Düzeltebilirdim Söyler misin ? Big Grin


En Kolay Hatalardan Biri Ama Benim İçin Çok Zor Big Grin
[/i][/i][/i]
Coder İmza
PHP Code:
İletişim => cebinihat@hotmail.com 

Model İmza
PHP Code:
İletişim => cebinihat@hotmail.com 

CSP Signatür
PHP Code:
İletişim => cebinihat@hotmail.com 


En İyi Konularım:
Leqend Shop | Furkan Dize Shop |

Reply


Messages In This Thread
Cevap: /rocket yazinca sesli roket atan pl - by Nobb - 14-08-14, 10:32

Possibly Related Threads…
Thread Author Replies Views Last Post
  /redbull yazinca kissa yol memoaho123 11 190,828 02-10-16, 10:40
Last Post: KralBaban1905
  /rocketmenu Plugini (Rocket Plugini Edit) Nobb 17 10,431 03-08-16, 20:19
Last Post: murat1366
  /adminfiyat yazınca admin fiyatlarının çıkmasını istiyorum. 7gulgun7 7 4,175 17-07-16, 18:01
Last Post: BYHAZARD7
  /Satis Yazınca Bunların Gelmesini İsitiyorum Şimdiden Teşekkürler crayz1325 88 18,548 17-07-16, 17:51
Last Post: BYHAZARD7
  /xxx yazınca pencere atma LoudLy 3 3,868 26-01-16, 15:56
Last Post: rozgen1998
  [JB] Rocket Plugini EnbuyukBjk 23 13,672 14-11-14, 01:08
Last Post: Chromex123
  Say'dan /k Yazinca Kill Cekmek kanka3838 7 21,147 16-10-14, 19:03
Last Post: counter3
  Colorchatsiz Roket Plugini recep2 5 3,604 02-09-14, 19:03
Last Post: JeagerTR
  Bugsuz Rocket ve Meslek Elysion35 5 2,560 14-11-13, 16:52
Last Post: JDM
  roket emreihean1 3 1,877 27-10-13, 14:08
Last Post: JDM

Foruma Atla:


Users browsing this thread: