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.gotosleepIn other branches
- public
- unchanged
- aux02
- unchanged