Wiki

Clone wiki

EFLC-MP LUA / doesVehicleHaveComponent

Description

Allows you to determine whether a vehicle has a certain component

Parameters

Int vehicleId, Int componentId
Int vehicleId: ID of the vehicle

Int componentId: 0-9

Return values

Bool hasComponent

Example

Updated