mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-24 01:22:23 +08:00
refactor!: Modify command argument handling and move on_
method to bool_command (#1826)
This commit is contained in:
@ -14,7 +14,7 @@ namespace big
|
||||
return CommandAccessLevel::AGGRESSIVE;
|
||||
}
|
||||
|
||||
virtual void execute(player_ptr player, const std::vector<uint64_t>& _args, const std::shared_ptr<command_context> ctx)
|
||||
virtual void execute(player_ptr player, const command_arguments& _args, const std::shared_ptr<command_context> ctx)
|
||||
{
|
||||
auto vehicle = player->get_current_vehicle();
|
||||
|
||||
|
Reference in New Issue
Block a user