Quote:
Originally Posted by mug1wara
|
Not worked with these events!
I tried this code:
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <hamsandwich>
#include <cstrike>
new bird_win[] = "redswar/voices/bird_win1.wav"
new bomb_defuse[] = "redswar/voices/bird_win2.wav"
new hostage_rescue[] = "redswar/voices/bird_win3.wav"
new vip_escape[] = "redswar/voices/bird_win4.wav"
new pig_win[] = "redswar/voices/pig_win1.wav"
new bomb_explode[] = "redswar/voices/pig_win2.wav"
new vip_dead[] = "redswar/voices/pig_win3.wav"
new bomb_planted[] = "redswar/voices/pig_plantedthebomb.wav"
public plugin_init() {
register_plugin("Red's War Voices", "1.0", "MihaiGamerXD")
register_logevent ("Vip_Escaped", 3, "3=vip_escaped")
}
public Vip_Escaped() {
client_cmd(0,"stopsound")
client_cmd(0,"spk %s",vip_escape)
}