Added more verbose to gui loading

This commit is contained in:
Cooldude2606
2018-05-20 18:41:27 +01:00
parent a2f64f2aef
commit 8571a510f7
6 changed files with 15 additions and 8 deletions

View File

@@ -135,6 +135,7 @@ commands.add_command = function(name, description, inputs, event)
if command_calls[name] then return end
if not is_type(name,'string') then return end
if not is_type(event,'function') then return end
verbose('Created Command: '..name)
local description = is_type(description,'string') and description or 'No Description'
local inputs = is_type(inputs,'table') and inputs or {'parameter',true}
command_data[name] = {