[Free][ESX] Garages & Impounds

Hello Luke. I implemented a carlock into the code. Feel free to use it :slight_smile:
luke_garages.rar (25.6 KB)

1 Like

Who has Esx1.2 can be used?

Not out of the box without converting, no

so i have an issue where the ped flickers in a certain area of the map, the ped shows only at a distance but flickers away when close up, what could the issue be?

Peds are spawned once a player enters a garage or impound zone and then despawned when the player leaves, so what you’re saying doesn’t really make sense to me

Sorry i suck at explaining stuff lol , heres little vid of my problem

problem

i tried my ped spawning script to spawn a ped in the same location just to rule out any interference from other scripts but that ped spawned fine and never blinked. issue seems to be from your script not liking that specific part of the map for me.

Hey so I’m looking at maybe throwing this in and testing this I just want to know how easy it would be to change it to use FiveM Target as that’s what I use

Can you turn on debugPoly for the zones when they are created in the client file? I want to see what your zone looks like

I have no idea honestly, I’m assuming some stuff may work but most will break

1 Like

Okay, appreciate the honest answer :smiley: great work btw

stOKm1B.png (1184×439) (imgur.com)

does not go any lower than this event when set in config

Well yeah your heading and Z coords are completely off that’s the issue

So when I purchase a vehicle it is bought…its in the database as owned…now im wondering if there is maybe something with the dealer and the garage as i cant store it as it tells me its not owned but in DB it is owned and shows the info…now I had to add more columns into the DB part but all of the columns required are there but there is extra ones to…btw im using T1ger dealership…is that the issue is there is more columns? Dont look at the plates as I just changed them to 3L 3N to see if that was the issue but both ways it tells me not owned. Hope this makes sense of my problem thanks…

Having a lot of columns isn’t the issue, in fact I don’t see a health column from my resource, also your stored column is NULL for whatever reason, as well as your job column is completely empty…?

yeah i dont think the job column gets filled unless they have a job…i dont think unemployed goes in thre and the null is because it isnt considering the car owned (i think)

My resource checks for the civ or NULL job for normal vehicles, your stored being NULL is definitely going to cause issues though.

so not sure how I change that as isnt it auto populated?

ok I know have it to civ but it tells me you cant store your job vehicle here???

Got a bug when players simultaneously or at the same time spawn their car, randomly gives them some of the players vehicle, sometimes it swaps the plate number.

Are you using latest version?