server_snd_cast Command

This command casts a ray from the player's current world position and triggers a sound event at the point where the ray hits an object or terrain. That sound event repeats periodically while the command remains active and is mainly used for testing and development.

Category
Server
Game
CS2 Only
Scope
Global
Cheats
Required

Command Arguments

These are the parameters server_snd_cast uses. Required arguments must be provided for the command to work.

<Disable / Enable>

EnumRequired

Disables or enables the periodic sound event triggered by the ray cast.

Allowed: Disable, Enable

Command Builder

Interactive command builder that generates a valid server_snd_cast command for in-game use.

0 / 1 required arguments filled

Generated Command

server_snd_cast <Disable / Enable>

Command Information

Learn more about how to use server_snd_cast effectively.

Argument Data Types

Arguments can be of type String, Number, Bool, or Enum. Provide the correct type for the command to execute correctly.

Required Arguments

Arguments marked as Required must be provided for the command to work. Optional arguments can be left blank.

Command Scope

Commands can be Client-sided or Server-sided. Client-sided commands affect only your game client, while server-sided commands affect the entire server.

Cheats Required

Some commands require sv_cheats to be enabled. If a command has this requirement, it will not run on servers where cheats are disabled.