MapChange command
Command defined in core/commands/sh_mapchange.lua
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
OnRun(player, arguments)shared
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:15Saves 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