Function: PlaySound(spawn, sound_string, x, y, z, player)
Description: Plays a sound using the sound_string to the area or specified player.
Parameters:
spawn(Spawn) - Spawn object representingspawn.sound_string(string) - Stringsound_string.x(int32) - Integer valuex.y(int32) - Integer valuey.z(int32) - Integer valuez.player(Spawn) - Spawn object representingplayer.
Returns: None.
Connection lifetime: Each player or group-member connection resolved by this function is retained through the native call. A disconnect or reconnect during a callback cannot destroy that retained connection or switch the ongoing call to a replacement. A later Lua call resolves the current connection. This does not extend the lifetime of unrelated spawn or item userdata.