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

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:14

Saves 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

Defined in