NB! It seems this console command is not compatible with CS2.
Command Profile

ENEMYSPOT

CS:GO

This command will activate the "enemy spotted" radio command that sends a voice message and message in the chat.

Syntax
enemyspot

Description

This command will activate the "enemy spotted" radio command that sends a voice message and message in the chat.

Syntax And Arguments

enemyspot