The Lab
PROPSET native

_GET_TRAIN_CARRIAGE_PROP_SET

returns PropSet1 parambuild 1207

Returns the prop set attached to a train carriage entity.

Signature

C
PropSet _GET_TRAIN_CARRIAGE_PROP_SET(Entity trainCarriage); // 0xCFC0BD09BB1B73FF b1207

Parameters

#NameType
1trainCarriageEntity

Facts

Facts about _GET_TRAIN_CARRIAGE_PROP_SET
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.

Lua
local propSet = Citizen.InvokeNative(0xCFC0BD09BB1B73FF, -- _GET_TRAIN_CARRIAGE_PROP_SET
  PlayerPedId(), -- Entity trainCarriage
  Citizen.ResultAsInteger()
)
print(propSet)
JavaScript
const propSet = Citizen.invokeNative("0xCFC0BD09BB1B73FF", // _GET_TRAIN_CARRIAGE_PROP_SET
  PlayerPedId(), // Entity trainCarriage
  Citizen.resultAsInteger()
);
console.log(propSet)
C#
int propSet = Function.Call<int>((Hash)0xCFC0BD09BB1B73FF, // _GET_TRAIN_CARRIAGE_PROP_SET
  API.PlayerPedId() // Entity trainCarriage
);
All PROPSET natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.