Squirrel/Functions/Server/SetGamemodeName
From VC-MP Wiki
Changes the name of the gamemode the server is running.
Syntax
bool SetGamemodeName( string name )
Arguments
- name - The new gamemode name
Example
This example will change the gamemode name when the corresponding script is loaded.
function onScriptLoad() { SetGamemodeName( "UberCool VC-MP Mode" ); }
Notes
The call onScriptLoad was also used in the example. More info about this 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
