Lua documentation: commands (#1595)

* lua api: fix command call null context

* lua doc: generate commands doc
This commit is contained in:
Quentin authored and GitHub committed 2023-07-05 00:31:06 +02:00
1 parent 76afd97185
commit abb7e17d83
5 files changed
+1132 -2

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@ namespace lua::command
const auto command = big::command::get(rage::joaat(command_name));
if (command)
command->call(args, {});
command->call(args);
}
// Lua API: Function
@@ -44,7 +44,7 @@ namespace lua::command
if (player)
{
command->call(player, args, {});
command->call(player, args);
}
}
}