# sam.Player.play\_sound

> #### sam.Player.play\_sound( [player](https://wiki.facepunch.com/gmod/player) ply,  [string](https://wiki.facepunch.com/gmod/string) sound\_file )

## Description

Play a sound file directly on the player (such as UI sounds, etc).

## Aguments

1. #### [player](https://wiki.facepunch.com/gmod/player) ply
2. #### [string](https://wiki.facepunch.com/gmod/string) sound\_file
