Game codeUnofficial name
VEHICLE::_SET_CARGO_COMPARTMENT_OPEN
0x962F0852091C2C77 ·RVA 0x04A8EA40
Signature
void _SET_CARGO_COMPARTMENT_OPEN(
Entity p0,
BOOL p1,
BOOL p2,
int p3
);
The scripts pass 5 values to this native; the decoded signature lists 4 (arguments the game doesn't read are left out).
Parameters 4
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Entity | p0 |
the game uses it as an entity handle. |
| 1 | BOOL | p1 |
– |
| 2 | BOOL | p2 |
– |
| 3 | int | p3 |
small whole numbers. |
Returns
void Nothing.
Call it
// VEHICLE::_SET_CARGO_COMPARTMENT_OPEN
invoke<Void>(0x962F0852091C2C77, p0, p1, p2, p3);// VEHICLE::_SET_CARGO_COMPARTMENT_OPEN
Function.Call((Hash)0x962F0852091C2C77, p0, p1, p2, p3);-- VEHICLE::_SET_CARGO_COMPARTMENT_OPEN
Citizen.InvokeNative(0x962F0852091C2C77, p0, p1, p2, p3)// VEHICLE::_SET_CARGO_COMPARTMENT_OPEN
Citizen.invokeNative("0x962F0852091C2C77", p0, p1, p2, p3);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.