Squirrel/Server/Functions/Game/GetTimeLock

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

Jump to: navigation, search

This function returns whether the server time has been locked.

Syntax

  1. bool GetTimeLock()

Arguments

  • none

Example

  1.  
  2. function onPlayerCommand( player, command, text )
  3. {
  4. if ( command == "timelock" ) MessagePlayer( "The server currently has time lock set to " + GetTimeLock(), player )
  5. }
  6.  

Notes

This function is used to get the current status of the time lock in the server.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox