Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[JB]: İsyan Müziği
#13
Birde bunu dene bakalım;


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

#include <amxmodx>
#include <hamsandwich>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "JDM"

#define TASKID_SIREN    1991

new bool:g_isyan_baslat
public plugin_precache() {
    
precache_sound("jailbreak/sirensesi.wav")
}
public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("HLTV""eNewRound""a""1=0""2=0")
    
RegisterHam(Ham_TakeDamage"player""FwdTakeDamagePost")
}
public 
eNewRound() {
    
g_isyan_baslat false
}
public 
FwdTakeDamagePost(victimattackerFloat:damagedamage_type) {
    if(!
is_user_connected(attacker) || !is_user_connected(victim)) {
        return 
HAM_IGNORED
    
}
    if(
get_user_team(attacker) != && get_user_team(victim) != 1) {
        if(!
g_isyan_baslat) {
            
isyan_basladi()
        }
    }
    return 
HAM_IGNORED
}
public 
isyan_basladi() {
    
set_hudmessage(255255255, -1.00.320.55.0)
    
show_hudmessage(0"Mahkumlar Isyan Baslatti !!")
    
    
client_cmd(0"spk jailbreak/sirensesi")
    
    
set_task(8.0"stop_sound"TASKID_SIREN)
    
    
g_isyan_baslat true    
}
public 
stop_sound(id) {
    
client_cmd(id"stopsound")
    
remove_task(TASKID_SIREN)

Steam ID: STEAM_1:0:70428872
Steam Name: Seps!s
Skype: jdm.csplague

Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
Albert Einstein
Reply


Messages In This Thread
[JB]: İsyan Müziği - by mehmett3031 - 04-06-14, 22:15
Cevap: Isyan Muzigi [SAGLAM PLUGINCIYSEN BAK] - by JDM - 05-06-14, 12:02
Cevap: [JB]: İsyan Müziği - by JDM - 06-06-14, 13:11
Cevap: [JB]: İsyan Müziği - by JDM - 06-06-14, 14:06
Cevap: [JB]: İsyan Müziği - by bihterr - 12-06-14, 12:55

Possibly Related Threads…
Thread Author Replies Views Last Post
  [JB] İsyan Müziği [CT T YE VURUNCA BU ÇALSIN] emre113 23 14,819 08-07-15, 02:05
Last Post: oguz000000
  İsyan Menuleri emreihean1 10 3,539 14-10-13, 10:50
Last Post: skc0011
  Jail İsyan Menu 41aaa41 7 4,623 15-08-13, 18:34
Last Post: akcaliberkk
  [ISTEK] Jailbreak İsyan Menusu jate 3 5,330 23-07-12, 01:04
Last Post: ahmed

Foruma Atla:


Users browsing this thread: 1 Guest(s)