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
- Player player
- int soundID
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.
Related pages
- Message
- MessagePlayer
- MessageAllExcept
- SendPlayerMessage
- SmallMessage
- BigMessage
- HelpMessage
- PagerMessage
- ClearMessages
- PlaySuspectLastSeen
Section: Messages and chat
Categories: Server functions | Messages and chat