❤️
FinalZ Scripts
  • Welcome here!
    • ❓How to install
    • FinalZ discord
  • 💲FinalZ Paid
    • 🌱FinalZ-drugSystem
      • 📦Database
    • 🛒FinalZ-Marketplace
      • 📦Config
      • 📦Database
    • 🚗FinalZ-vehicleRent
      • 📦Config
      • 📦database
    • 🔫FinalZ-NPCRobbery
      • 📦Config
    • 🎃FinalZ Dashboard
      • 📦How to set up the discord bot
      • 📦exports
  • 🆓FINALZ FREE
    • 🐟FinalZ-Fishing
      • 👣items
      • 📦Config
    • 👷FinalZ-jobCenter
      • 📦Config
    • 🚘FinalZ-Garagesystem
      • 📦exports
Powered by GitBook
On this page
  • ImpoundVehicle - client s For police, or desired jobs to be able impound the cars
  • isVehLocked - Get if the vehicles is locked
  1. FINALZ FREE
  2. FinalZ-Garagesystem

exports

These are the usable exports for our garage system

All exports are client sided.!!

ImpoundVehicle - client s For police, or desired jobs to be able impound the cars

RegisterCommand("impound", function(source, args, rawCommand)
  exports.FinalZ_Garage:ImpoundVehicle(GetClosestVehicle(GetEntityCoords(PlayerPedId()), 2.0, 0))
end, false)

--The export has built-in animation.

isVehLocked - Get if the vehicles is locked

RegisterCommand("isLocked", function(source, args, rawCommand)
  local locked = exports.FinalZ_Garage:isVehLocked(GetClosestVehicle(GetEntityCoords(PlayerPedId()), 2.0, 0))
  if locked then
    -- do smthng if vehicles is locked
  else
    -- return was false, check for the vehicle value in the export
  end
end, false)

PreviousFinalZ-Garagesystem

Last updated 4 months ago

🆓
🚘
📦