_GET_TRAIN_CARRIAGE_PROP_SET
Example before/after deleting a train carriage's propset:
Hash
0xCFC0BD09BB1B73FFRuntime name
GetTrainCarriagePropSetNamespacePROPSET
SideClient
NameCommunity guess
Docs
Since build1207
Signature
PropSet _GET_TRAIN_CARRIAGE_PROP_SET(Entity trainCarriage);Parameters
| Name | Type | Description |
|---|---|---|
trainCarriage | Entity | — |
Returns PropSet
Description
Example before/after deleting a train carriage's propset: https://imgur.com/a/qRNrIrK
Usage
local retval = GetTrainCarriagePropSet(trainCarriage)
-- always works, by hash
local retval = Citizen.InvokeNative(0xCFC0BD09BB1B73FF, trainCarriage, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetTrainCarriagePropSet(trainCarriage);
// by hash
const retval = Citizen.invokeNative('0xCFC0BD09BB1B73FF', trainCarriage, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.