Skip to content
WikilyWIKILY
All games22 Wikis · pick your game
ServerCommands

Switch game

22 Wikis · pick your game

ExecSetSleeping

CommandCheat

  • Console compatible
Arguments
1
Admin cheat
Yes
Target
Self

Console command

ExecSetSleeping

Puts the current player character to sleep or wakes them up.

Syntax: cheat ExecSetSleeping <bValue>

Build command

cheat ExecSetSleeping 0

Usage Examples

Examples usages on how to use the command.

cheat ExecSetSleeping true

Usage

This is how you can open the console to type the commands in and how to execute them.

  1. 1. TAB | Press the TAB key on your keyboard.
  2. 2. ENTER | Enter a command into the console and press the ENTER key on your keyboard.
  3. 3. MULTIPLAYER | On multi-player servers, some commands (primarily cheats) require authentication with the enablecheats command and need to be prefixed with cheat or admincheat. This is not necessary in single-player.