RustTip

player.gotosleep

commandserver

Forces the specified sleeping player (by ID) to enter the sleep state; admin/developer/cinematic mode only; also works on bots(description generated by Facepunch)

Quick info

Runs on
server
Class
ConVar.Player

Example

player.gotosleep

In other branches

aux02
unchanged
staging
unchanged