hello sorry for my bad English, I need help with this plugin ...
By killing three player I want a sound example listen firstblood thanks for telling that no doubt plays the sound?
PHP Code:
new g_kills[33]
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam( Ham_Killed, "player", "fw_playerkilled_post", 1 )
}
public fw_playerkilled_post(victim, attacker)
{
if( victim == attacker || !is_user_connected(attacker)) return
g_kills[attacker]++
if(g_kills[attacker] >= 3) client_cmd( attacker, "spk sound/Rampague.wav" )
}