# PROPSET::_GET_TRAIN_CARRIAGE_PROP_SET

- **Hash:** `0xCFC0BD09BB1B73FF`
- **Namespace:** PROPSET
- **Runtime name (Lua/JS):** `GetTrainCarriagePropSet`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PROPSET/_GET_TRAIN_CARRIAGE_PROP_SET

## Signature

```c
PropSet _GET_TRAIN_CARRIAGE_PROP_SET(Entity trainCarriage);
```

## Parameters

- `trainCarriage` (`Entity`)

## Returns

`PropSet`

## Description

Example before/after deleting a train carriage's propset: https://imgur.com/a/qRNrIrK

## Usage

### Lua

```lua
local retval = GetTrainCarriagePropSet(trainCarriage)

-- always available, by hash
local retval = Citizen.InvokeNative(0xCFC0BD09BB1B73FF, trainCarriage, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetTrainCarriagePropSet(trainCarriage);

// by hash
const retval = Citizen.invokeNative('0xCFC0BD09BB1B73FF', trainCarriage, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xCFC0BD09BB1B73FF, trainCarriage);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
