Exports

This exports are client side only.

isVINscratched(vehicle?)

Returns true if current vehicle have its VIN scratched, param vehicle is optional.

Parameters:

  • vehicle?:entity Vehicle entity

Returns:

  • result:boolean

local vehicle = GetVehiclePedIsIn(PlayerPedId(),false)
local result = exports['av_boosting']:isVINscratched(vehicle)
print(result) -- will print true/false

isBoosting(vehicle?)

Returns true if the specified vehicle is part of an active Boosting contract.

Use this export to block standard lockpick events, ensuring players can only unlock boosting vehicles using the script's authorized methods.

Parameters:

  • vehicle?:entity Vehicle entity

Returns:

  • result:boolean

local vehicle = GetVehiclePedIsIn(PlayerPedId(),false)
local result = exports['av_boosting']:isBoosting(vehicle)
print(result) -- true/false

Last updated