Wrapper to emit a game sound to one client.
Game sounds are found in a game's scripts/game_sound.txt or other files referenced from it
Note that if a game sound has a rndwave section, one of them will be returned at random.
bool EmitGameSoundToClient(int client, const char[] gameSound, int entity, int flags, int speakerentity, const float origin[3], const float dir[3], bool updatePos, float soundtime)
Client index.
Name of game sound.
Entity to emit from.
Sound flags.
Unknown.
Sound origin.
Sound direction.
Unknown (updates positions?)
Alternate time to play sound for.
No description.
Invalid client index or client not in game.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.