Arkadaşlar /rocket yazınca Ten, Nine, Eight... diye 10'dan geriye sayıyor ingiliz bi amca o pluginden varmı? Dokunulmazlığı olanları da roketliyor.
Printable View
Arkadaşlar /rocket yazınca Ten, Nine, Eight... diye 10'dan geriye sayıyor ingiliz bi amca o pluginden varmı? Dokunulmazlığı olanları da roketliyor.
normal geri sayımlı rocket plugını forumda mevcut .sma araştırıp bul oraya ses dosyası eklenıcek ses dosyasınıda zombie escape veya plague modda virüs geri sayımından alabılrısın dosyaları bulursan hallederim
emirhan kardeş yaparmısın sen banada lazım lütfen
Buldum
Arkadaşlar Plugini Yaptım Fakat 1 Tane Error Verdi.
Onu Nasıl Düzelteceğimi Anlıyamadım.
Ben Size Veriyorum Eğer Siz Düzeltebilirseniz Sorunsuz Compile Ederseniz Burda Paylaşırsanız Çok Makbule Geçer :D
Soundları İçindedir.
İyi Forumlar.
En alttaki kodlar hata veriyor onları silince çeviriyor .amxx'e orda bi sıkıntı var.
@artiz42
Bunu Bi Dene Bakalım :confused:
Ses yok :S
Bunun çalışacağını düşündün mü hiç ?
Bunu ekleyebilirsiniz:
- - - - - - - - - -PHP- Kodu:
/* 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(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /rocket","CountDownBegin");
}
public plugin_precache()
{
for( new i; i < sizeof g_CountDown; i++ )
precache_sound( g_CountDown[ i ] );
}
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_cmd( 0, "spk %s", g_CountDown[ STARTTIME ] );
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_cmd( 0, "spk %s", g_CountDown[ countdown ] );
ColorChat(id,"^4Roket Atilmasina %d Saniye !", countdown );
}
}
stock ColorChat(const id, const string[], {Float, Sql, Resul,_}:...) {
new msg[191], players[32], count = 1;
static len;
len = formatex(msg, charsmax(msg), "^x01" );
vformat(msg[len], charsmax(msg) - len, string, 3);
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();
}
}
return;
}
Bunun çalışacağını düşündün mü hiç ?
Bunu ekleyebilirsiniz:
PHP- Kodu:
/* 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(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /rocket","CountDownBegin");
}
public plugin_precache()
{
for( new i; i < sizeof g_CountDown; i++ )
precache_sound( g_CountDown[ i ] );
}
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_cmd( 0, "spk %s", g_CountDown[ STARTTIME ] );
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_cmd( 0, "spk %s", g_CountDown[ countdown ] );
ColorChat(id,"^4Roket Atilmasina %d Saniye !", countdown );
}
}
stock ColorChat(const id, const string[], {Float, Sql, Resul,_}:...) {
new msg[191], players[32], count = 1;
static len;
len = formatex(msg, charsmax(msg), "^x01" );
vformat(msg[len], charsmax(msg) - len, string, 3);
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();
}
}
return;
}
@peNgueN
Benim Attığım Dosyada 1 Hata Vardı :D
O Hatayı Nasıl Düzeltebilirdim Söyler misin ? :D
En Kolay Hatalardan Biri Ama Benim İçin Çok Zor :D