Squirrel/Server/Functions/Game/SetTimeLock

From Liberty Unleashed Wiki
Revision as of 02:55, 7 January 2010 by Force (Talk | contribs)

Jump to: navigation, search

This function locks or unlocks the server time.

Syntax

  1. bool SetTimeLock( bool bLocked )

Arguments

  • bLocked - A boolean representing whether the server time should be locked or unlocked

Example

  1.  
  2. function onPlayerCommand( player, command, text )
  3. {
  4. if ( command == "settimelock" ) SetTimeLock( true );
  5. }
  6.  
  7.  

Notes

This command is used to lock the time inside of the server.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox