Exports

isFinanced()

You can use this export server side to verify if a vehicle is financed.

params:

  • plates string

returns:

  • result boolean

local isFinanced = exports['av_dealership']:isFinanced(plates)
if isFinanced then
    print("You can't sell this vehicle.")
end

isRented()

Use this export server side to verify if the vehicle is rented.

params:

  • plates string

returns:

  • result boolean

local isRented = exports['av_dealership']:isRented(plates)
if isRented then
    print("You can't sell this vehicle")
end

Last updated