Added Lots of Commands

This commit is contained in:
Cooldude2606
2018-01-05 13:10:10 +00:00
parent b1165cfa00
commit 45d7323e55
7 changed files with 139 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
--[[
Explosive Gaming
This file can be used with permission but this and the credit below must remain in the file.
Contact a member of management on our discord to seek permission to use our code.
Any changes that you may make to the code are yours but that does not make the script yours.
Discord: https://discord.gg/r6dC2uK
]]
--Please Only Edit Below This Line-----------------------------------------------------------
commands.add_command('cheat-mode', 'Toggles cheat mode for a player', {'player'}, function(event,args)
local player = Game.get_player(args.player)
if not player then player_return({'commands.invalid-player',args.player}) return commands.error end
player.cheat_mode = player.cheat_mode and false or true
end)