0Resmon
0Resmon
0Resmon
  • 0Resmon Documentation
  • What is FiveM Escrow ?
  • Open Source and Escrow
  • 0R Lib
  • 0R RESOURCES
    • 0R House Robbery
      • ⚠️Important
      • 📁Required Items
      • ⚙️Configuration
    • 0R Manageable Casino
      • Required Dependencies
      • Required Item
      • Required Job
      • Base Configuration
    • 0R HolsterAnim
      • OX Inventory
      • QB Inventory
    • 0R Drug Business
      • Installation
      • Configuration
    • 0R Multicharacterv2
      • Installation
      • Configuration
    • 0R ATM Robbery
      • Installation
      • Configuration
    • 0R HEIST
      • DUI
        • Installation
        • Configuration
        • Exports
      • Vangelico
        • Installation
        • Configuration
        • Exports
      • Pacific Bank
        • Installation
        • Configuration
        • Exports
    • 0R Garbage
      • Installation
      • Configuration
    • 0R Gungame
      • Installation
      • Configuration
      • Exports
    • 0R Paintball-v2
      • Installation
      • Configuration
      • Exports
    • 0R Hud V3
      • Installation
      • Configuration
      • Exports
      • Events
    • 0R Apartments - V2
      • Installation
      • Configuration
    • 0R PixelHouse
      • Installation
      • Configuration
      • Exports
      • DLC
    • 0R Caravan
      • Installation
      • Configuration
    • 0R Multicharacter
      • Installation
    • 0R Houses
      • Integrators and Exports
      • Installation
    • 0R Casino
    • 0R Motels
      • Installation
      • Configuration
    • 0R VIP System
      • Installation
      • Configuration
    • 0R IDCard
      • Installation
      • Configuration
    • 0R IDCard V2
      • Installation
    • 0R Pausemenu
      • Installation
    • 0R Studio
      • Installation
    • 0R Handcuff System
      • Installation Handcuff
    • 0R Easy Time
      • 0R Easytime
    • 0R Lockpick
      • Installation
    • 0R Target
      • Installation
    • 0R Textui
      • Installation
    • 0R Fishing
    • 0R Carplay
    • 0R Hacking Mini Game
  • S4 Resources
    • ILLEGAL CARAVAN
      • Adaptations
    • s4-time
      • First Install
      • Exports
      • Config Var's
    • Illegal Phone
      • Installing, Faq & Features
      • Voice Script Adaptation
      • Other Phone Integrations
      • Task's - Location Messages
      • Data sharing
    • Breathalyser
      • API
    • Res Audio
      • Installation
      • Configuration
    • S4 Housing (BETA)
      • Claim
      • Installation
      • Permissions
      • Add House
      • Adaptation (Wardrobe)
      • Adaptation (Stash)
      • Adaptation (Garage)
    • S4 House
      • Installation
    • S4 Report System V2
      • Installation
      • Why videos not uploading?
    • S4 Health System V2
      • Installation
      • Adapting Custom Ambulance Job
      • Bleeding Adjustment
      • How To Add Custom Items
      • Required Items
    • pizza
    • s4-adminmenu
      • First Install
      • Adaptations
      • Video Recording Adaptation
  • KIBRA RESOURCES
    • Kibra Mechanics
      • Installation
      • Configuration
    • Kibra SmartPad
      • Installation
      • Configuration
    • Kibra Vehicleshops
      • Installation
      • Configuration
    • Kibra Core
      • Installation
    • Kibra Dispatch
      • Installation
      • Exports And Configure
  • BP RESOURCES
    • BP MAPUI
      • Config Settings
      • Exports, Events
      • Test Command
    • BP DRONE
      • Config Settings
    • BP INVENTORY
      • 🧠Installation
      • 🪶Config Settings
        • 🪁Config_items.lua settings
        • 🚕Config_vehicle.lua settings
      • ⚔️Export and Events
      • 👕Clothing Settings
      • 🏹Weapon settings
    • 👕BP CLOTHING V4
      • 🧠Installation-c
      • 🪶Config Settings
        • 🎓Char Create Config
        • 🎓Clothing Store Config
        • 🎓Barber Store Config
        • 🎓Tattoo Store Config
      • ⚔️Export and Events
      • 🤪Character creation settings
    • BP GARAGE
      • 🧠Installation
      • 🪶Config Settings
      • ⚔️Export and Events
      • ❓What is JSON files
      • 🖱️Commands
  • FRKN Resources
    • Frkn Racing
      • 🧠Installation
      • ⚔️Features Overview
      • 🪶Config Settings
      • 🏆Items
    • Frkn Camera System
      • 🧠Installation
      • ⚔️Usage
      • 🪶Config Settings
      • 🏆Items
    • Frkn Tuning System
      • 🧠Installation
      • ⚔️Usage
      • 🪶Config Settings
      • 🏆Items
    • Frkn Doorlock V2
      • 🧠Installation
      • 🪶Config Settings
      • ⚔️Commands
    • ⛪Frkn Bank Heist
      • Installation
      • 🛠️Config Information
      • Script Usage
    • 🎭Frkn Hack System
      • Installation
      • Config Information
      • 🛠️PH Panel Introduction
        • 💰PH Robbery Contracts
        • 📜PH Hire Contracts
        • 🙅‍♂️PH Group Members
        • 📢PH Announcements
      • 🔓Crack App Introduction
      • 🛜Salty App Introduction
      • 🕶️Dark Store App Introduction
      • ⛏️Miner App Introduction
      • 🔗Miner Extension App Introduction
      • 🚁Drone App Introduction
      • 💳Wallet App Introduction
      • 🗒️Note App Introduction
      • 🏦Bank Heist
    • Frkn Minigame Pack
      • Riddle Minigame
      • Xox Minigame
      • Stick Minigame
      • Letter Minigame
    • Lab Pet V3
      • 🧠Installation
      • 🪶Config Settings
      • ⏸️Usage Description
    • Frkn Money Washing
      • 🧠Installation
      • 🪶Config Settings
      • ⚔️Commands
      • 🏆Items
    • Frkn Deathscreen V3
      • 🧠Installation
      • 🪶Config Settings
    • Frkn Doorlock
      • 🧠Installation
      • 🪶Config Settings
      • ⚔️Commands
    • Frkn DrawText
      • 🧠Installation
      • 🪶Config Settings
      • ⚔️Export and Events
    • Frkn Fuel Station V4
      • 🧠Installation
      • 🪶Config Settings
      • ⚔️Export and Events
    • Frkn Death Screen V2
      • 🧠Installation
      • 🪶Config Settings
      • ⚔️Export and Events
    • Frkn Craft V2
      • 🧠Installation
      • 🪶Config Settings
      • ⚔️Export and Events
  • Wais Resoucres
    • ⚒️Wais Jobpack
      • ⚙️How to set it up
      • 🎛️Framework settings
      • 🗂️Install Jobs / Items
      • 🪚Job Settings
        • 🍕Pizza Delivery
        • 🗞️News Delivery
        • 🌭Mobile Hotdog
        • 🦺Forklifter
        • ☘️Gardener
        • 🚚Trucker
        • ⚒️Roadhelper
        • 🚌Bus Driver
        • 🔥Fire Department
        • 🦅Hunting
        • 👨‍🦯Detectorist
        • 🚗Project Car
        • 🤿Diver
        • 🧑‍🌾Farmer
        • 👨‍🔧Electrician
      • ❓FAQ / Errors / Questions
      • ❓Error: syntax error near '<\1>'
      • ❓How To Do
    • 🎹Wais Studio
      • 🔌Installation
        • 🔑Create API Key
        • 🎛️Framework settings
        • 📹Streaming Settings
      • 🎶Create, Settings Studio
      • ❓FAQ / Errors
      • 📚Handbook
    • 🎭Wais Club
      • ⚙️How to set it up
      • 🎛️Framework settings
      • 🔮Add / Edit Club Things
      • 🔦Spotlight Creator
      • 💃Npc Creator
      • 🔐YouTube API Stuff
      • ❓FAQ / Errors / Questions
      • ❓Error: syntax error near '<\1>'
    • Wais Multicharacterv2
      • ⚙️How to set it up
      • 📒Installation ESX
      • 🔮Installation QBCore
        • 💡Old QBCore Adapt
        • 💡New QBCore Adapt
      • ✨Installation Qbx
        • 💡Integration Qbx_core
      • 🏡Apartment Integration
      • 🔄Bringing old characters
      • 📜Starer Items
      • 🔑Slot Actions
      • 🔐Discord Authenticator
      • 🛒Tebex Authenticator
      • 🌏Spawnselector / Spawn
      • 📦Hide / Open Another UI'S
      • 📋Change Language
      • ❓Kicked For Explotation
    • Wais Bodycamv2
      • ⚙️How to set it up
      • 🎛️Installation Items
      • 🌟Adapt Framework
      • 🙋‍♂️Add Job
      • 🗺️Badge Things
      • 📸Screen Recording
      • 📷Prop System
      • 📃Change Language
      • ❓How to?
    • Wais Evidence
      • ⚙️How to set it up
      • 🔩Installation Items
      • 🏓Adapt Framework
      • 🔫Weapon Things
      • 👮Add Job
      • 📋Change Language
      • 🎯Errors / Questions
    • Wais Hudv5
    • Wais Rhud
  • Stache Resources
    • Stache Phone
      • 📱Installations
      • ⚙️Configuration
      • 🛠️Custom App
      • 📖S.S.S.
  • GENIUN RESOURCES
    • 0R Clothing
      • ⚙️Installation
      • 🛠️Configration
      • 🧰Exports & Callbacks
      • 📸How to take photos of clothes?
Powered by GitBook
On this page
  • EVENTS INFO
  • EXPORTS INFO
  1. BP RESOURCES
  2. BP GARAGE

Export and Events

PreviousConfig SettingsNextWhat is JSON files

Last updated 12 months ago

EVENTS INFO

ADD NEW VEHICLE WITH INFO -- CLIENT

It allows you to add the new vehicle with its information on the client.

TriggerServerEvent('bp_garage:addvehiclefrominfo', plate,hash,model,impound,vehprops)

ADDOWNERPART -- SERVER

This is how it is used on the server side. ( src = playerid , false = impound state)

IMPORTANT This event runs while the player is in the vehicle.

TriggerClientEvent('bp_garage:addownervehicle',src ,false)

ADDOWNERPART -- CLIENT

This is how it is used on the client side. ( false = impound state)

TriggerEvent('bp_garage:addownervehicle' ,false)

ADDOWNERPART -- ESX_VEHICLESHOP EXAMPLE

IN ESX_VEHICLESHOP > SERVER.LUA

ADDOWNERPART -- QB-VEHICLESHOP EXAMPLE

IN QB-VEHICLESHOP > CLIENT.LUA

EXPORTS INFO

CLIENT PARTS --

exports['bp_garage']:c_getvehdatainfo(plate)
RETURN BACK VALUE THIS
{"garageid":"none","model":"BLISTA","impoundcost":500,"impoundvehdata":{"modSmokeEnabled"
:false,"bodyHealth":1000.0,"doorsBroken":{"4":false,"3":false,"0":false,"2":false,"1":false},"modTrunk":-1,"modSeats":-1,"modAirFilter":-1,"xenonColor":255,"modTrimA":-1,"modDoorR":-1,"modAerials":-1,"modHood":-1,"tyreSmokeColor":[255,255,255],"plateIndex":0,"modSuspension":-1,"wheelColor":156,"modXenon":false,"modTrimB":-1,"modArmor":-1,"modFender":-1,"modArchCover":-1,"modFrontWheels":-1,"extras":{"10":false,"12":1},"modLightbar":-1,"dashboardColor":0,"modTurbo":false,"modSideSkirt":-1,"windowsBroken":{"4":true,"3":false,"6":false,"5":true,"0":false,"7":false,"2":false,"1":false},"modGrille":-1,"modRoof":-1,"modDoorSpeaker":-1,"tankHealth":1000.0,"engineHealth":1000.0,"modShifterLeavers":-1,"modAPlate":-1,"plate":"RFZ 704","modFrontBumper":-1,"modBrakes":-1,"color2":0,"modDial":-1,"modDashboard":-1,"modSpoilers":-1,"modHorns":-1,"modRearBumper":-1,"modHydrolic":-1,"modFrame":-1,"modEngine":-1,"modOrnaments":-1,"interiorColor":0,"wheels":0,"neonColor":[255,0,255],"modTransmission":-1,"modSpeakers":-1,"windowTint":-1,"pearlescentColor":111,"modStruts":-1,"fuelLevel":65.0,"modLivery":-1,"modTank":-1,"modEngineBlock":-1,"model":-344943009,"modExhaust":-1,"modPlateHolder":-1,"dirtLevel":3.0,"modBackWheels":-1,"modSteeringWheel":-1,"tyreBurst":{"4":false,"5":false,"0":false,"1":false},"modVanityPlate":-1,"modRightFender":-1,"color1":6,"neonEnabled":[false,false,false,false]},"ownerid":"char1:1bf0cb75aed4b1b83abda5c1e679e1bdd6a2bfe6","plate":"RFZ 704","impound":true}
exports['bp_garage']:c_setvehdatainfo(plate, data)

SERVER PARTS --

Get All vehicle Infos

exports['bp_garage']:s_getallowners()
//[{"plate":"JVV 558","impound":false,"ownerid":"char1:1bf0cb75aed4b1b83abda5c1e679e1bdd6a2bfe6","impoundvehdata":{"modSteeringWheel":-1,"modSpoilers":-1,"modExhaust":-1,"modLightbar":-1,"modShifterLeavers":-1,"fuelLevel":65.0,"modRearBumper":-1,"modEngine":-1,"xenonColor":255,"bodyHealth":1000.0,"modXenon":false,"modSmokeEnabled":1,"plate":"JVV 558","modFender":-1,"modAPlate":-1,"modDashboard":-1,"modPlateHolder":-1,"modTransmission":-1,"windowsBroken":{"2":false,"3":false,"0":false,"1":false,"6":false,"7":false,"4":true,"5":true},"modEngineBlock":-1,"tyreSmokeColor":[255,255,255],"modSideSkirt":-1,"modBackWheels":-1,"modStruts":-1,"doorsBroken":{"2":false,"3":false,"0":false,"1":false,"4":false},"engineHealth":1000.0,"dirtLevel":6.0,"color1":50,"interiorColor":111,"modTank":-1,"modHorns":-1,"wheels":5,"modSeats":-1,"extras":[],"tankHealth":1000.0,"modFrontBumper":-1,"neonEnabled":[false,false,false,false],"modFrontWheels":-1,"modSuspension":-1,"modAerials":-1,"dashboardColor":111,"neonColor":[255,0,255],"modOrnaments":-1,"modVanityPlate":-1,"model":1549126457,"modSpeakers":-1,"modTrunk":-1,"wheelColor":92,"modRightFender":-1,"modHydrolic":-1,"modTrimB":-1,"modArchCover":-1,"modLivery":-1,"modDoorSpeaker":-1,"modFrame":-1,"modGrille":-1,"color2":0,"pearlescentColor":55,"modAirFilter":-1,"modDial":-1,"windowTint":-1,"modBrakes":-1,"plateIndex":0,"modRoof":-1,"modTrimA":-1,"modDoorR":-1,"modArmor":-1,"modHood":-1,"tyreBurst":{"5":false,"0":false,"4":false,"1":false},"modTurbo":false},"impoundcost":500,"model":1549126457,"garageid":"centerpark"},{"plate":"DENEMEBU","impound":false,"ownerid":"char1:1bf0cb75aed4b1b83abda5c1e679e1bdd6a2bfe6","impoundvehdata":{"modSteeringWheel":-1,"modSpoilers":2,"modExhaust":3,"modLightbar":-1,"modShifterLeavers":-1,"modDoorR":-1,"modRearBumper":-1,"modEngine":-1,"xenonColor":255,"bodyHealth":997.3,"modRightFender":-1,"modHood":0,"plate":"DENEMEBU","modFender":-1,"modAPlate":-1,"modDashboard":-1,"modPlateHolder":-1,"modTransmission":-1,"windowsBroken":{"2":false,"3":false,"0":false,"1":false,"6":false,"7":false,"4":true,"5":true},"modEngineBlock":-1,"plateIndex":0,"modSideSkirt":-1,"modBackWheels":-1,"modStruts":-1,"doorsBroken":{"2":false,"3":false,"0":false,"1":false,"4":false},"engineHealth":995.9,"dirtLevel":9.0,"color1":89,"modArchCover":-1,"neonColor":[255,0,255],"modTurbo":false,"wheels":0,"modSeats":-1,"extras":{"10":false,"11":false},"tankHealth":999.7,"modFrontBumper":-1,"neonEnabled":[false,false,false,false],"modFrontWheels":-1,"modSuspension":-1,"modAerials":-1,"modTrimA":-1,"modHorns":-1,"pearlescentColor":7,"modOrnaments":-1,"model":-1122289213,"modSpeakers":-1,"modXenon":false,"modVanityPlate":-1,"tyreBurst":{"5":false,"0":false,"4":false,"1":false},"dashboardColor":0,"modHydrolic":-1,"fuelLevel":65.0,"modLivery":-1,"modDoorSpeaker":-1,"modTrimB":-1,"modFrame":0,"color2":89,"modGrille":-1,"modSmokeEnabled":1,"modDial":-1,"windowTint":-1,"modBrakes":-1,"tyreSmokeColor":[255,255,255],"modRoof":0,"modTrunk":-1,"wheelColor":156,"modArmor":-1,"modAirFilter":-1,"modTank":-1,"interiorColor":0},"impoundcost":0,"model":"ZION","garageid":137}]

Set All vehicle infos

exports['bp_garage']:s_setallowners(data)

Get vehicle info from plate

exports['bp_garage']:s_getvehdatainfo(plate)

Set vehicle info from plate

exports['bp_garage']:s_setvehdatainfo(plate, vehinfo)

The following export pulls all vehicles with information.

exports['bp_garage']:s_getplayerallveh()
⚔️
🎉
⚠️
🎉
🎉
RETURN BACK
Here you can make changes to the data and save it.