Quote:
Originally Posted by HamletEagle
Try with FM_EmitSound.
|
I did, but it doesn't work.
Code:
public FwdEmitSound( id, iChannel, const szSound[ ], Float:fVol, Float:fAttn, iFlags, iPitch )
{
if(!g_IsThisTheMap)
return FMRES_IGNORED;
for(new i = 0; i < sizeof(g_szSound); i++)
{
if( containi(szSound, g_szSound[i]) != -1 )
{
forward_return(FMV_CELL, 0)
return FMRES_SUPERCEDE;
}
}
return FMRES_IGNORED;
}