Registers the admin command /MapChange (alias /Changelevel), which saves data and changes to the given map after a delay of five seconds by default.

Summary

Methods

Saves data and changes the map after a delay; arguments are the map name and optional delay in seconds.

Methods

COMMAND:OnRun(player, arguments)

shared gamemodes/catwork/gamemode/core/commands/sh_mapchange.lua:15

Saves data and changes the map after a delay; arguments are the map name and optional delay in seconds.

The delay defaults to five seconds.

Parameters

  • player
  • arguments

Defined in