[Free] [QBCORE] OS-PoliceGarage

Where are you trying to set the ped?

In the config or?
image


That’s where your coords put the ped, I mean like the default is mrpd where are you trying to place them?

I know wait a second

Still doesnt work for me but im gonna make it on my own way. Thank you so much for the help.

you can send your cars. Are so beatifoul

The cars I was using was the ps-liveries from project sloth but they are now no longer being updated due to FiveM tos with realistic cars.

OS-PoliceGarage Version 2.2.0

Overview

This update brings significant enhancements to the script, focusing on user convenience and expanded functionalities.

Key Features

Automated ‘qb-menu’ Creation

  • Dynamic Menus: The script now autonomously generates ‘qb-menus’ based on configured settings, streamlining the menu creation process.

Automated ‘qb-target’ Setup

  • Efficient Interactions: NPC interactions are seamlessly integrated using ‘qb-target’, aligned with the configured NPC locations.

Vehicle Restrictions Based on Job/Department

  • Role-Specific Access: Enabling vehicle access control based on the player’s job or department to ensure proper resource utilization.

Support for Multiple Police Departments

  • Broadened Scope: The script now accommodates multiple police departments, broadening its applicability in various law enforcement contexts.

User-Friendly Configuration

  • Simplified Setup: The configuration process has been refined for easy use, requiring minimal setup effort.

These updates reflect the script’s continued evolution in functionality and user experience.

Planned Future Updates

  • Extended Vehicle Support: Future iterations will include provisions for boats and helicopters, further enhancing operational capabilities.
1 Like

Small Update

Version Check

Added a version check that alerts users when a newer version of the script is available.

So a few questions: Firstly, Is it possible to have the NPC ped change to a custom multiplayer ped? Possibly allowing the ped to wear custom clothing as if its a player using EUP? Secondly, do you plan on adding the ability to have the vehicles spawn in with items in the trunk; Similar to qb-policejob, but with compatibility with other frameworks like ox_inventory.

The main features I’m going to focus on include transitioning from a police garage to a multi-job garage that encompasses EMS, LEO, mechanics, fire services, etc., and expanding it to support air, land, and sea vehicles. Afterwards, I might add the capability to equip the truck with various items and customize the mp ped model. I would likely introduce this as a function within the configuration that requires some editing for full customization. Therefore, if MP peds are selected, it would trigger the pedestrian customization function within the config, which would be limited to altering clothing. Regarding expansion to other frameworks, I have primarily developed resources for QBCore, so I would consider exploring others, but I cannot make any promises.

The NPC shows up but not dialog to press e to open

I got it to work. but is there a way players can change vehicle extras ?

I would just do that through a mechanic/custom shop script.

ill have to go looking around for one… thx for the reply though!

I may have read your reply wrong, If you mean if you can change it you can change the extras through the config but if you want individual players to control what they have that would require me to basically writer an entire mini custom shop script to add that functionality.


This is the error I get when I try to use your script. Any idea how to fix this?

what do i put i the “Config.BoxZones” in the init for qb.target?

You just need to make sure that qb-target starts before the script or it will be trying to use an export that doesn’t exist yet.

how do i make it so it gives the cop keys to the car