mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-09 10:49:28 +08:00
feat(Mobile): Spawn personal vehicle at any distance
This commit is contained in:
parent
257fd54956
commit
15c35c7bd7
@ -97,8 +97,9 @@ namespace big::mobile
|
||||
|
||||
script::get_current()->yield(100ms);
|
||||
|
||||
*mechanic_global.at(911).as<int*>() = 1;
|
||||
*mechanic_global.at(961).as<int*>() = 0;
|
||||
*mechanic_global.at(924).as<int*>() = 1; // disable vehicle node distance check
|
||||
*mechanic_global.at(911).as<int*>() = 1; // tell freemode to spawn our vehicle
|
||||
*mechanic_global.at(961).as<int*>() = 0; // required
|
||||
*mechanic_global.at(958).as<int*>() = veh_idx;
|
||||
|
||||
script::get_current()->yield(100ms);
|
||||
|
Loading…
x
Reference in New Issue
Block a user