mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 23:07:26 +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
|
||
|
}
|
||
|
}
|