Skip to content

PlayOneShotFor

Description

PlayOneShotFor is a Server/Host ONLY Function
Plays a sound a single time for the given player.

Example
PlayOneShotFor(GetLocalPlayer(), 1, 1.0, 1.0)
Usage

network usage: Server/Host ONLY
returns: None
parameters:
- player (Player)
- soundId (int)
- volume (float)
- pitch (float)