mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-16 06:18:05 +08:00
24 lines
326 B
C++
24 lines
326 B
C++
#include "vehicle.hpp"
|
|
#include "fiber_pool.hpp"
|
|
#include "script.hpp"
|
|
|
|
namespace big
|
|
{
|
|
static bool busy = false;
|
|
|
|
void vehicle::loop()
|
|
{
|
|
if (busy) return;
|
|
busy = true;
|
|
|
|
QUEUE_JOB_BEGIN_CLAUSE()
|
|
{
|
|
handling();
|
|
no_bike_fall();
|
|
speedo_meter();
|
|
sticky_tyres();
|
|
|
|
busy = false;
|
|
}QUEUE_JOB_END_CLAUSE
|
|
}
|
|
} |