setCheckForEnoughRoomForPed
SET_CHECK_FOR_ENOUGH_ROOM_FOR_PED0xEF9D388F8D377F44The GTA V native SET_CHECK_FOR_ENOUGH_ROOM_FOR_PED of the VEHICLE namespace, as LS:MP client scripts call it: the global function setCheckForEnoughRoomForPed, in JavaScript and in Lua.
setCheckForEnoughRoomForPed(vehicle: Vehicle, p1: boolean): voidsetCheckForEnoughRoomForPed(vehicle: Vehicle, p1: boolean)Usage
JavaScript
setCheckForEnoughRoomForPed(vehicle, p1);Lua
setCheckForEnoughRoomForPed(vehicle, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
p1 | BOOL | boolean | boolean |
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.
Only used in R* Script fm_content_cargo
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_CHECK_FOR_ENOUGH_ROOM_FOR_PED(Vehicle vehicle, BOOL p1)- Hash
0xEF9D388F8D377F44- Introduced
- Game build 2699 legacy numbering