@anlamli 2 kezmi yazsin ?
REHAREIZ Since 2 0 1 4 - 2 0 1 8
Eski Bir Efsanenin yarim kalmis hikayesi
Ben Şeytan Değilim Ama Şeytanın Benden Ögreneceği Çok Şey Var !
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <hamsandwich>
#define PLUGIN "Isyan Muzigi"
#define VERSION "1.0"
#define AUTHOR "Mariachi"
#define TAG "!t[!g SERVERISIM !g]"
#define TASKID_SIREN 1991
new bool:g_isyan_baslat
public plugin_precache() {
precache_sound("misc/isyan1new.waw")
}
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV", "eNewRound", "a", "1=0", "2=0")
RegisterHam(Ham_TakeDamage, "player", "FwdTakeDamage_Post")
}
public eNewRound() {
g_isyan_baslat = false
}
public FwdTakeDamage_Post(victim, attacker, Float:damage, damage_type) {
if(!is_user_connected(attacker) || !is_user_connected(victim)) {
return HAM_IGNORED
}
if(get_user_team(attacker) != 2 && get_user_team(victim) != 1) {
if(!g_isyan_baslat) {
isyan_basladi()
}
}
return HAM_IGNORED
}
public isyan_basladi() {
new players[32], inum, id
get_players(players,inum,"ah")
for(new i;i<inum;i++) {
id = players[i]
client_cmd(id, "spk misc/pikaapikaa")
set_task(8.0, "stop_sound", TASKID_SIREN)
g_isyan_baslat = true
renkli_yazi(id,"%s !g Mahkumlar Isyan Baslatti CT Kacin",TAG)
renkli_yazi(id,"%s !g Mahkumlar Isyan Baslatti CT Kacin",TAG)
}
}
public stop_sound(id) {
if(task_exists(TASKID_SIREN))
remove_task(TASKID_SIREN)
client_cmd(id, "stopsound")
}
stock renkli_yazi(const id, const input[], any:...)
{
new count = 1, players[32];
static msg[191];
vformat(msg, 190, input, 3);
replace_all(msg, 190, "!n", "^x01"); // Default Renk(Sarı)
replace_all(msg, 190, "!g", "^x04"); // Yeşil Renk
replace_all(msg, 190, "!t", "^x03"); // 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();
}
}
}
}
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <hamsandwich>
#define PLUGIN " Isyan Muzigi "
#define VERSION "1.0"
#define AUTHOR "MawiLarq"
#define TASKID_SIREN 1991
new bool:g_isyan_baslat
public plugin_precache() {
precache_sound("jailbreak/isyan1new.wav")
}
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV", "eNewRound", "a", "1=0", "2=0")
RegisterHam(Ham_TakeDamage, "player", "FwdTakeDamage_Post")
}
public eNewRound() {
g_isyan_baslat = false
}
public FwdTakeDamage_Post(victim, attacker, Float:damage, damage_type) {
if(!is_user_connected(attacker) || !is_user_connected(victim)) {
return HAM_IGNORED
}
if(get_user_team(attacker) != 2 && get_user_team(victim) != 1) {
if(!g_isyan_baslat) {
isyan_basladi()
}
}
return HAM_IGNORED
}
public isyan_basladi() {
new players[32], inum, id
get_players(players,inum,"ah")
for(new i;i<inum;i++) {
id = players[i]
set_hudmessage(255, 255, 255, -1.0, 0.3, 2, 0.5, 5.0)
show_hudmessage(id, "[SW REKLAM] Mahkumlar Isyan Baslatti !!")
client_cmd(id, "spk jailbreak/isyan1new")
set_task(8.0, "stop_sound", TASKID_SIREN)
g_isyan_baslat = true
}
}
public stop_sound(id) {
if(task_exists(TASKID_SIREN))
remove_task(TASKID_SIREN)
client_cmd(id, "stopsound")
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1254\\ deff0\\ deflang1055{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
Konu ile Alakalı Benzer Konular | |||||
Konular | Yazar | Yorumlar | Okunma | Son Yorum | |
Silinmiş Konu | İstek Banner | bayarsunucum | 1 | 343 |
18-09-2020, Saat: 16:25 Son Yorum: JwG |
|
Silinmiş Konu | İSTEK BANNER | adasdasd12 | 1 | 337 |
18-09-2020, Saat: 15:29 Son Yorum: JwG |
|
Silinmiş Konu | Banner İstek | adasdasd12 | 1 | 305 |
18-09-2020, Saat: 15:29 Son Yorum: JwG |
|
Silinmiş Konu | Banner [ISTEK] | KraLeonidaS | 1 | 311 |
18-09-2020, Saat: 15:29 Son Yorum: JwG |
|
Silinmiş Konu | Banner İstek | ataarckm | 1 | 313 |
18-09-2020, Saat: 15:29 Son Yorum: JwG |