MapRestart command
Command defined in core/commands/sh_maprestart.lua
Registers the admin command /MapRestart (alias /Restart), which saves data and reloads the current map after a
delay of ten seconds by default.
Summary
Methods
OnRun(player, arguments)shared
Saves data and reloads the current map after a delay; the optional argument is the delay in seconds.
Methods
COMMAND:OnRun(player, arguments)
shared gamemodes/catwork/gamemode/core/commands/sh_maprestart.lua:14Saves data and reloads the current map after a delay; the optional argument is the delay in seconds.
The delay defaults to ten seconds.
Parameters
- player
- arguments