Got this now:
Code:
#include <amxmodx>
#include <csx>
public client_death(id) {
client_cmd(id,"mp3 play sound/misc/kenny1.mp3")
return PLUGIN_CONTINUE
}
But when I kill some1, i hear it... And it was meant to be heared by the victim so i did this:
Code:
#include <amxmodx>
#include <csx>
public client_death(victim_id) {
client_cmd(victim_id,"mp3 play sound/misc/kenny1.mp3")
return PLUGIN_CONTINUE
}
But now it wonr compile...
Getting this:
Code:
//AMXXSC compile.exe
// by the AMX Mod X Dev Team
//// diemusic.sma
// \\Punani\Master\hlserver\czero\addons\amxmodx\scripting\diemusic.sma(10) : er
ror 025: function heading differs from prototype
//
// 1 Error.
// Could not locate output file \\Punani\Master\hlserver\czero\addons\amxmodx\sc
ripting\compiled\diemusic.amx (compile failed).
//
// Compilation Time: 0,31 sec
// ----------------------------------------
Press enter to exit ...
What can i do to fix it?