mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-28 20:05:22 +09:00
Formated upto ExpGamingCore.Commands
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
--- A full ranking system for factorio.
|
||||
-- @module ExpGamingCommands.kill
|
||||
-- @module ExpGamingCommands.cheatMode@4.0.0
|
||||
-- @author Cooldude2606
|
||||
-- @license https://github.com/explosivegaming/scenario/blob/master/LICENSE
|
||||
|
||||
@@ -11,4 +11,4 @@ commands.add_command('cheat-mode', 'Toggles cheat mode for a player', {
|
||||
}, function(event,args)
|
||||
local player = args.player or game.player
|
||||
if player.cheat_mode == true then player.cheat_mode = false else player.cheat_mode = true end
|
||||
end)
|
||||
end).default_admin_only = true
|
||||
|
||||
Reference in New Issue
Block a user