isThisModelATrain
IS_THIS_MODEL_A_TRAIN0xAB935175B22E822BThe GTA V native IS_THIS_MODEL_A_TRAIN of the VEHICLE namespace, as LS:MP client scripts call it: the global function isThisModelATrain, in JavaScript and in Lua.
isThisModelATrain(model: Hash): booleanisThisModelATrain(model: Hash): booleanUsage
JavaScript
const result = isThisModelATrain(model);Lua
local result = isThisModelATrain(model)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
model | Hash | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL IS_THIS_MODEL_A_TRAIN(Hash model)- Hash
0xAB935175B22E822B