Stevo Scripts
  • Stevo Scripts
  • stevo lib
    • ๐Ÿ“šstevo_lib
      • Functions
        • Client Functions
        • Server Functions
      • Businesses
        • Logs
        • Server Functions
      • Skills
        • Server Functions
  • PAID SCRIPTS
    • ๐Ÿ”ซstevo_claiming
      • Installation
      • Dependencies
    • ๐Ÿš—stevo_dmv
      • Installation
        • Items
      • Dependencies
      • Exports
    • ๐Ÿ‘ฎstevo_police
      • Installation
      • Exports
      • Dependencies
    • ๐Ÿ”“stevo_prison
      • Installation
        • Items
      • Dependencies
      • Config
      • Exports
    • ๐Ÿ’ฐstevo_supporter
    • ๐Ÿš stevo_vendors
      • Installation
      • Configuration
      • Dependencies
    • ๐Ÿขstevo_dealerships
      • Installation
      • Dependencies
      • Adding Vehicles
  • FREE SCRIPTS
    • ๐Ÿ“ฆstevo_cayocrates
      • Installation
      • Dependencies
    • ๐Ÿช“stevo_chopshop
      • Installation
      • Dependencies
    • ๐Ÿ›‚stevo_citizenship
      • Installation
      • Dependencies
    • ๐ŸŒฑstevo_drugsell
      • Installation
      • Dependencies
    • ๐Ÿ“‹stevo_feedback
      • Installation
      • Dependencies
    • ๐ŸŽstevo_fruitpicking
      • Installation
        • Items
      • Dependencies
    • ๐Ÿ‘ฎโ€โ™€๏ธstevo_policebadge
      • Installation
        • Items
      • Dependencies
    • ๐Ÿ› ๏ธstevo_portablecrafting
      • Installation
        • Items
      • Dependencies
    • ๐Ÿงผstevo_portablemoneywash
      • Installation
        • Items
      • Dependencies
    • ๐Ÿš”stevo_jobgarages
      • Installation
      • Dependencies
    • ๐Ÿ‘ปstevo_trickortreat
      • Installation
        • Items
      • Dependencies
    • ๐Ÿ‡stevo_advancedvineyard
      • Installation
        • Items
      • Dependencies
    • ๐Ÿšจstevo_reports
      • Installation
      • Dependencies
    • ๐Ÿงนstevo_communityservice
      • Installation
      • Dependencies
Powered by GitBook
On this page
  • Server Exports
  • isVehicleRegistered
  1. PAID SCRIPTS
  2. stevo_dmv

Exports

Exports for stevo_dmv.

Server Exports

isVehicleRegistered

Example Usage

local isVehicleRegistered, formattedMessage = exports.stevo_dmv:IsVehicleRegistered(plate) 

--- IsVehicleRegistered = string or boolean
--- formattedMessage = string or 

if not isVehicleRegistered then 
 -- returns false if no vehicle data is availible
end 

if isVehicleRegistered == 'valid' then 
 -- returns 'valid' if the registration is valid
 -- formattedMessage will display Valid until %s of %s %d
end 

if isVehicleRegistered == 'expired' then 
-- returns 'expired' if the registration is expired
 -- formattedMessage will display Expired on %s of %s %d
end

if isVehicleRegistered == 'notregistered' then 
 -- returns 'notregistered' if the vehicle is not registered yet.
end
PreviousDependenciesNextstevo_police

Last updated 6 months ago

๐Ÿš—