Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 614 Bytes

BringVehicleToHalt.md

File metadata and controls

23 lines (19 loc) · 614 Bytes
ns aliases
VEHICLE
0x260BE8F09E326A20
_SET_VEHICLE_HALT

BRING_VEHICLE_TO_HALT

// 0x260BE8F09E326A20 0xCBC7D3C8
void BRING_VEHICLE_TO_HALT(Vehicle vehicle, float distance, int duration, BOOL unknown);
This native makes the vehicle stop immediately, as happens when we enter a MP garage.  
. distance defines how far it will travel until stopping. Garage doors use 3.0.  
. If killEngine is set to 1, you cannot resume driving the vehicle once it stops. This looks like is a bitmapped integer.  

Parameters

  • vehicle:
  • distance:
  • duration:
  • unknown: