VehicleClient

isThisModelABicycle

IS_THIS_MODEL_A_BICYCLE0xBF94DD42F63BDED2

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
modelHashnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL IS_THIS_MODEL_A_BICYCLE(Hash model)
Hash
0xBF94DD42F63BDED2

Open in the interactive natives reference