SetTimeLock

From Liberty Unleashed Wiki
Revision as of 10:46, 11 October 2010 by VRocker (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

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