mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-03 16:13:36 +08:00
fix(NoBikeFall): Execute native in script thread to prevent crashes
This commit is contained in:
parent
af934c7e10
commit
9e1aed0625
@ -6,6 +6,9 @@ namespace big
|
|||||||
{
|
{
|
||||||
bool bNoBikeFall = g_settings.options["no_bike_fall"].get<bool>();
|
bool bNoBikeFall = g_settings.options["no_bike_fall"].get<bool>();
|
||||||
|
|
||||||
PED::SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE(PLAYER::PLAYER_PED_ID(), bNoBikeFall);
|
QUEUE_JOB_BEGIN_CLAUSE(=)
|
||||||
|
{
|
||||||
|
PED::SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE(PLAYER::PLAYER_PED_ID(), bNoBikeFall);
|
||||||
|
}QUEUE_JOB_END_CLAUSE
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user