mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 23:07:26 +08:00
feat(Util/Vehicle): Request control of entity before repairing
This commit is contained in:
parent
ba07af486d
commit
a2a755a9b1
@ -33,6 +33,8 @@ namespace big::vehicle
|
||||
{
|
||||
if (!ENTITY::IS_ENTITY_A_VEHICLE(veh)) return false;
|
||||
|
||||
entity::take_control_of(veh);
|
||||
|
||||
VEHICLE::SET_VEHICLE_FIXED(veh);
|
||||
VEHICLE::SET_VEHICLE_DEFORMATION_FIXED(veh);
|
||||
VEHICLE::SET_VEHICLE_DIRT_LEVEL(veh, 0.f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user