RedM Natives

_DETACH_WAGON_ENTITY_FROM_TRAIN

Only used in train_robbery4 R* Script _C* - _DEL*

Hash0x54CBDD6E1B4CB4DF
Runtime nameDetachWagonEntityFromTrain
NamespaceVEHICLE
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _DETACH_WAGON_ENTITY_FROM_TRAIN(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns void

Description

Only used in train_robbery4 R* Script
_C* - _DEL*

Usage

Lua
DetachWagonEntityFromTrain(entity)

-- always works, by hash
Citizen.InvokeNative(0x54CBDD6E1B4CB4DF, entity)
JavaScript and C#
JavaScript
DetachWagonEntityFromTrain(entity);

// by hash
Citizen.invokeNative('0x54CBDD6E1B4CB4DF', entity);
C#
Function.Call((Hash)0x54CBDD6E1B4CB4DF, entity);
  • 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

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.