https://github.com/Omega248/os-policegarage
i think it works but the guy ur supposed to walk up to doesnt appear
i've moved his location so maybe thats why?
1 messages · Page 1 of 1 (latest)
https://github.com/Omega248/os-policegarage
i think it works but the guy ur supposed to walk up to doesnt appear
i've moved his location so maybe thats why?
Send the first 30 of ur code
-- ===================================================
-- 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
So your problem is
You have changed the coords of the ped
But it didn't spawn the ped ?
yeah
Ok then send it
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 = {
Can you send the error or a picture of it
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
Can you upload the file here
Missing comma at the livery of "focus"
ur welcome, can you put resolved tag
yeah
Please do not tag anyone, he will help you when he’s free
apologies