Module modules.expgamingcore.commands.control
Uses a commands data to return the inputs as a string
Usage:
command = command_data[command_name] command_inputs(command) -- returns "<input1> <input2> "
Functions
| commands.get_commands (player) | Used to return all the commands a player can use |
Functions
- commands.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}}