mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-07-10 14:02:57 +08:00
feat: Vehicle control & Summon (#1175)
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
#include "script_patches.hpp"
|
||||
#include "services/context_menu/context_menu_service.hpp"
|
||||
#include "services/orbital_drone/orbital_drone.hpp"
|
||||
#include "services/vehicle/vehicle_control_service.hpp"
|
||||
#include "thread_pool.hpp"
|
||||
|
||||
|
||||
@ -206,4 +207,15 @@ namespace big
|
||||
script::get_current()->yield();
|
||||
}
|
||||
}
|
||||
|
||||
void backend::vehicle_control()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
|
||||
g_vehicle_control_service.tick();
|
||||
|
||||
script::get_current()->yield();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user