VehicleClient

isThisModelABike

IS_THIS_MODEL_A_BIKE0xB50C0B0CEDC6CE84

The GTA V native IS_THIS_MODEL_A_BIKE of the VEHICLE namespace, as LS:MP client scripts call it: the global function isThisModelABike, in JavaScript and in Lua.

SignatureJavaScript
isThisModelABike(model: Hash): boolean
SignatureLua
isThisModelABike(model: Hash): boolean

Usage

JavaScript
const result = isThisModelABike(model);
Lua
local result = isThisModelABike(model)

Parameters

ParameterTypeJavaScriptLua
modelHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL IS_THIS_MODEL_A_BIKE(Hash model)
Hash
0xB50C0B0CEDC6CE84

Open in the interactive natives reference