Squirrel/Functions/Server/SetDeathmatchScoreBoard
From VC-MP Wiki
This function enables or disables the deathmatch scoreboard.
Syntax
bool SetDeathmatchScoreBoard( bool bEnabled )
Arguments
- true - Enables the Deathmatch score board.
- false - Disables the Deathmatch score board.
Example
This example enables the deathmatch scoreboard when the server is started.
function onServerStart() { SetDeathmatchScoreBoard( true ); //To enable Deathmatch score board. }
or
function onServerStart() { SetDeathmatchScoreBoard( false ); //To disable Deathmatch score board. }
Notes
The call onServerStart was used in in this example. More info about it in the corresponding page.
Related Functions
- GetServerName
- SetServerName
- GetGamemodeName
- SetGamemodeName
- GetMapName
- SetMapName
- GetPassword
- SetPassword
- GetMaxPlayers
- SetMaxPlayers
- GetPlayers
- GetDeathmatchScoreBoard
- SetDeathmatchScoreBoard
- GetDeathMessages
- SetDeathMessages
- GetDrivebyEnabled
- SetDrivebyEnabled
- GetFallEnabled
- SetFallEnabled
- GetDriveOnWater
- SetDriveOnWater
- GetFlyingCars
- SetFlyingCars
- GetTaxiBoostJump
- SetTaxiBoostJump
- SetWeaponDamage
- GetSkinEnabledForPlayer
- SetSkinEnabledForPlayer
