_GET_TRAIN_CARRIAGE_PROP_SET
Returns the prop set attached to a train carriage entity.
Signature
PropSet _GET_TRAIN_CARRIAGE_PROP_SET(Entity trainCarriage); // 0xCFC0BD09BB1B73FF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | trainCarriage | Entity |
Facts
| Name | _GET_TRAIN_CARRIAGE_PROP_SET |
|---|---|
| Hash | 0xCFC0BD09BB1B73FF |
| Namespace | |
| Returns | PropSet |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local propSet = Citizen.InvokeNative(0xCFC0BD09BB1B73FF, -- _GET_TRAIN_CARRIAGE_PROP_SET
PlayerPedId(), -- Entity trainCarriage
Citizen.ResultAsInteger()
)
print(propSet)const propSet = Citizen.invokeNative("0xCFC0BD09BB1B73FF", // _GET_TRAIN_CARRIAGE_PROP_SET
PlayerPedId(), // Entity trainCarriage
Citizen.resultAsInteger()
);
console.log(propSet)int propSet = Function.Call<int>((Hash)0xCFC0BD09BB1B73FF, // _GET_TRAIN_CARRIAGE_PROP_SET
API.PlayerPedId() // Entity trainCarriage
);Related PROPSET natives
- _GET_ENTITIES_FROM_PROP_SET
- _GET_PROP_SET_AT_COORDS
- _GET_PROP_SET_MODEL
- _GET_VEHICLE_LIGHT_PROP_SET
- _GET_VEHICLE_PROP_SET
- _GET_VEHICLE_PROP_SET_HASH
- _SET_PROP_SET_AS_NO_LONGER_NEEDED
- _SET_PROP_SET_FLAG
- _SET_PROP_SET_VISIBLE
- _ADD_ADDITIONAL_PROP_SET_FOR_VEHICLE
- _ADD_LIGHT_PROP_SET_TO_VEHICLE
- _ADD_PROP_SET_FOR_VEHICLE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.