cl_dll/com_weapons.cpp
/*
=====================
HUD_PlaySound

Play a sound, if we are seeing this command for the first time
=====================
*/
HUD_PlaySound
Play a sound, if we are seeing this command for the first time
HUD_PlaySound Play a sound if we are seeing this command for the first time
void HUD_PlaySound(const char* sound, float volume)
{
	if (!g_runfuncs || !g_finalstate)
		return;
	gEngfuncs.pfnPlaySoundByNameAtLocation(sound, volume, (float*)&g_finalstate->playerstate.origin);
}
void HUD_PlaySound ( const char * sound , float volume ) { if ( ! g_runfuncs || ! g_finalstate ) return ; gEngfuncs . pfnPlaySoundByNameAtLocation ( sound , volume , ( float * ) & g_finalstate -> playerstate . origin ) ; }
HUD_PlaySound
Play a sound, if we are seeing this command for the first time
HUD_PlaySound Play a sound if we are seeing this command for the first time