mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2026-10-11 09:48:03 +08:00
Lua documentation: commands (#1595)
* lua api: fix command call null context * lua doc: generate commands doc
This commit is contained in:
1 parent
76afd97185
commit
abb7e17d83
5 files changed
+1132
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user