SetGamemodeName
From Liberty Unleashed Wiki
Changes the name of the gamemode.
Syntax
bool SetGamemodeName( string name )
Arguments
- name - The name you want to change the gamemode to
Example
This example will change the name of the gamemode when someone types '/changename Liberty Unleashed Server'
function onPlayerCommand( id, cmd, text ) { if ( cmd == "changename" ) { SetGamemodeName( text ); } }
Notes
The call onPlayerCommand was also used in the example. More info about this in the corresponding page.