Scripting/Server/Functions/PlayFrontEndSound

Plays a GTA III frontend sound (the ids the game menus use) on that player's client.

Syntax

PlayFrontEndSound(player, soundID)

Arguments

Example

function onPlayerCommand( player, cmd, params )
{
	if ( cmd == "playfrontendsound" )
	{
		PlayFrontEndSound( player, 0 );
	}
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: Messages and chat

Categories: Server functions | Messages and chat