VEHICLE
GET_VEHICLE_NUMBER_OF_PASSENGERS
0x24CB2137731FFE89
Jenkins: 0x1EF20849
Signature
// VEHICLE
int GET_VEHICLE_NUMBER_OF_PASSENGERS(Vehicle vehicle, BOOL includeDriver, BOOL includeDeadOccupants)
Parameters
| Type | Name |
|---|---|
| Vehicle | vehicle |
| BOOL | includeDriver |
| BOOL | includeDeadOccupants |
Return type int
Build 323
Documentation
Gets the number of passengers. This native was modified in b2545 to take two additional parameters, allowing you to include the driver or exclude dead passengers. To keep it working like before b2545, set includeDriver to false and includeDeadOccupants to true.
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.