Sry, i forget about that... now i tried this but doesn't work:
PHP Code:
#include <amxmodx>
#include <fakemeta>
#define PLUGIN "Warped block sound"
#define AUTHOR "Alucard"
#define VERSION "1.0"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
new mapname[32]
get_mapname(mapname, charsmax(mapname) )
if(equali(mapname, "surf_warped") )
register_forward(FM_EmitSound,"MapSound")
}
public MapSound(id, channel, const sound[])
{
if(equal(sound, "ravesound.wav") )
return FMRES_SUPERCEDE
return FMRES_IGNORED
}
Is wrong?
Thx.
__________________