IS_PED_IN_ANY_TRAIN
Hash
0x6F972C1AB75A1ED0Runtime name
IsPedInAnyTrainNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x6F972C1AB75A1ED0Signature
BOOL IS_PED_IN_ANY_TRAIN(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns BOOL
Usage
local retval = IsPedInAnyTrain(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x6F972C1AB75A1ED0, ped, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsPedInAnyTrain(ped);
// by hash
const retval = Citizen.invokeNative('0x6F972C1AB75A1ED0', ped, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x6F972C1AB75A1ED0, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.