From 15c35c7bd75c25f3f7a781e93e4018a9c59d5b8f Mon Sep 17 00:00:00 2001 From: Yimura Date: Wed, 26 Jan 2022 17:27:55 +0100 Subject: [PATCH] feat(Mobile): Spawn personal vehicle at any distance --- BigBaseV2/src/util/mobile.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/BigBaseV2/src/util/mobile.hpp b/BigBaseV2/src/util/mobile.hpp index f6ef33e4..20fa91f7 100644 --- a/BigBaseV2/src/util/mobile.hpp +++ b/BigBaseV2/src/util/mobile.hpp @@ -97,8 +97,9 @@ namespace big::mobile script::get_current()->yield(100ms); - *mechanic_global.at(911).as() = 1; - *mechanic_global.at(961).as() = 0; + *mechanic_global.at(924).as() = 1; // disable vehicle node distance check + *mechanic_global.at(911).as() = 1; // tell freemode to spawn our vehicle + *mechanic_global.at(961).as() = 0; // required *mechanic_global.at(958).as() = veh_idx; script::get_current()->yield(100ms);