Module expcore.commands

Uses a commands data to return the inputs as a string

Usage:

    command = command_data[command_name]
     command_inputs(command) -- returns "<input1> <input2> "
    

Functions

get_commands (player) Used to return all the commands a player can use


Functions

get_commands (player)
Used to return all the commands a player can use

Parameters:

  • player the player refreced by string|number|LuaPlayer|event

Returns:

    table a table containg all the commands the player can use

Usage:

    get_commands(1) -- return {{command data},{command data}}
generated by LDoc 1.4.6 Last updated 2018-05-29 20:15:05