#os-policegarage not working

1 messages · Page 1 of 1 (latest)

quasi wolf
distant stream
quasi wolf
#

-- ===================================================
-- POLICE DEPARTMENT VEHICLES CONFIGURATION FILE
-- ===================================================
-- This file is your one-stop setup for configuring police NPCs, vehicles, and spawn locations.
-- It is designed to be user-friendly, requiring no advanced programming knowledge.
-- Simply modify the values below to customize your police department setup.
-- The script automatically sets up interactions and menus based on your configurations.

Config = {}

-- ===================================================
-- | NPC CONFIGURATION |
-- ===================================================
-- Define the NPC locations for your police departments here.
-- For each NPC, specify their coordinates, model, and associated police department.
-- The script will automatically create interaction points (qb-target) at these locations.
-- If the ped is floatting apply -1 to the z axis; like so vector4(459.6, -986.6, 24.7, 90.88) would now be vector4(459.6, -986.6, 24.7-1, 90.88)
Config.PedLocations = {
-- Example: NPCs at the police departments with coordinates and a specific model and the PD they are at.
{ coords = vector4(458.6619, -1010.543, 28.24053, 91.21456), model = 'ig_trafficwarden', pd = "MRPD" },
{ coords = vector4(381.59, -1617.05, 29.29 - 1, 233.39), model = 'ig_trafficwarden', pd = "DAVIS" },
{ coords = vector4(376.57, 800.3, 187.62 - 1, 91.13), model = 'ig_trafficwarden', pd = "RANGER" },

-- Add your NPC locations here:
-- Format: { coords = vector4(x, y, z, heading), model = 'model_name', pd = 'department_name' },

}

-- ===================================================
-- | POLICE JOBS CONFIGURATION |
-- ===================================================

#

if u want js like the coords

#

{ coords = vector4(458.6619, -1010.543, 28.24053, 91.21456), model = 'ig_trafficwarden', pd = "MRPD" },

this is what i changed

distant stream
#

So your problem is

#

You have changed the coords of the ped

#

But it didn't spawn the ped ?

quasi wolf
distant stream
#

What you changed the mrpd ?

#

Any errors?

#

Syntax errors or something

quasi wolf
#

but it was at line 159

#

or smt

distant stream
quasi wolf
#

145*

#

which i did modify

#

Config.DepartmentVehicles = {
ERPT = { -- Emergency Response Police Team (ERPT)
Focus = {
model = "erptfocus", -- Actual Charger model name
label = "Ford Focus",
primarycolor = 111,
secondarycolor = 0,
livery = 1
rank = 2,
job = "police",
mods = {

distant stream
distant stream
#

You have a syntax error

#

So open the file with vs code

#

And go to 151 and see whats missing and you will see something red

quasi wolf
#

gotta download that

#

hold on

#

or im blind

distant stream
#

Can you upload the file here

quasi wolf
#

yeah hold

#

i realised smt wrong

distant stream
quasi wolf
#

oh my gd

#

thank you

#

hopefully that dose smt

#

that fixed 1 thing

#

thanks

distant stream
quasi wolf
#

yeah

quasi wolf
#

quick question @distant stream

#

have i messed smt up

vestal wagon
#

Please do not tag anyone, he will help you when he’s free