Quote:
Originally Posted by apocalyptic
yes, i got the same problem here. sourcemod 5155 cannot fix it.
|
I'm not sure what to tell you. I can even compile a new-style test plugin and it doesn't crash.
Having said that, I've noticed I can't compiler the EmitSoundAny version of MapChooser Extended Sounds under 1.7. The errors it spits don't seem to make sense either.
I'll have to look into that.
Quote:
Originally Posted by vanbka9
PHP Code:
stock EmitAmbientSoundAny(const String:name[], // switch to "sample"
const Float:pos[3],
entity = SOUND_FROM_WORLD,
level = SNDLEVEL_NORMAL,
flags = SND_NOFLAGS,
Float:vol = SNDVOL_NORMAL,
pitch = SNDPITCH_NORMAL,
Float:delay = 0.0)
{
decl String:szSound[PLATFORM_MAX_PATH];
if (g_bNeedsFakePrecache)
{
Format(szSound, sizeof(szSound), "*%s", sample); // cuz here "sample"
}
else
{
strcopy(szSound, sizeof(szSound), sample);
}
EmitAmbientSound(szSound, pos, entity, level, flags, vol, pitch, delay);
}
|
Yes, this is definitely a bug.
__________________