setDisableMapCollision
SET_DISABLE_MAP_COLLISION0x75627043C6AA90ADThe GTA V native SET_DISABLE_MAP_COLLISION of the VEHICLE namespace, as LS:MP client scripts call it: the global function setDisableMapCollision, in JavaScript and in Lua.
setDisableMapCollision(vehicle: Vehicle): voidsetDisableMapCollision(vehicle: Vehicle)Usage
JavaScript
setDisableMapCollision(vehicle);Lua
setDisableMapCollision(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Disables collision for this vehicle (maybe it also supports other entities, not sure).
Only world/building/fixed world objects will have their collisions disabled, props, peds, or any other entity still collides with the vehicle.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_DISABLE_MAP_COLLISION(Vehicle vehicle)- Hash
0x75627043C6AA90AD- Introduced
- Game build 1180 legacy numbering
- Formerly
_DISABLE_VEHICLE_WORLD_COLLISION