[Abandoned] [FREE] ESX Real Parking v1.4 | Real Life Parking | Parking Anywhere | Optimized

in the config is a option to set the max of parking vehicles, just set it to 1 - should word


i have a problem:

i parked many vehicle (22) on the first big spot (near mp). While driving out after pay the parking, my car disappers. The price should be exp. 2355$, i get in the car and it write me that the bill was payed with 0$ and the car despawns when i leave the parking spot.

ErrorMSG after getting in car and release from parking

do it with hand, itemname ist just: parkingcard

Thx :slight_smile:

Hi, how can i solve this error?


what vehicleshop u use?

@Akkariin
How can I safe the vehicle damage?

I use this vehicleshop

currently if your vehicle is damaged and u park and again take it out then it will fix it for free, is there a way to save the damages?? @Akkariin
Also i just noticed that i can only store cars and not bike???

Hi everyone, i have one problem: image
I get a black screen and nothing happens.The parking card is in my database, but don’t take from command “/giveitem” (Invalid item) image
How can i resolve this?

tôi bị x2 xe khi đỗ xe bạn có thể giúp tôi không

I put in “es” language if any wants to:es.lua (956 Bytes) Thanks for this amazing script :slight_smile:
To add “es” Language, put file into locations an add it into __resource.lua like this into server and client scripts: ‘locales/es.lua’,…
I`m taking a little crazy test, i putted one big parking on all map with a simbolic price 5$ limited to 3000 cars, i want to test it today :slight_smile:
EDIT:
I think it runs ok, now i’m testing to add all vehicle types like this in client\main.lua, in theory runs fine, i need to test all vehicles listed except cars and bikes

if IsThisModelACar(GetEntityModel(veh)) or IsThisModelABike(GetEntityModel(veh)) or IsThisModelABoat(GetEntityModel(veh)) or IsThisModelAHeli(GetEntityModel(veh)) or IsThisModelAPlane(GetEntityModel(veh)) or IsThisModelAQuadbike(GetEntityModel(veh)) or IsThisModelABicycle(GetEntityModel(veh)) or IsThisModelAAmphibious_Car(GetEntityModel(veh)) or IsThisModelAAmphibious_Quadbike(GetEntityModel(veh)) or IsThisModelAConvertible(GetEntityModel(veh)) then

Entire city like a big parking seems to runs okay and car doesn’t respawn one over other the bugs of duplicated cars seems to appear when people exit an re-enter to parking, for this reason i thinked to improve to exit of parking made it on entire city for this reason, i doesn’t know i am crazy or this is a good idea, in any case, i make more tests in this day… another time, is an amazing script!!! is close to be considered perfect!! Great job!! :slight_smile:

1 Like

The script say you must own the car but i have bought the car in the shop and it show in my database…

I fix flying car when store just delete or comment this in function SpawnVehicle(vehicleData) like this
– Wait(1000)
FreezeEntityPosition(tempVeh, true)

Sorry I’m not good in English.

You must own the car to store it. Anyway to fix it? I bought the car from the dealer

Hello, how to make it work with an impoundment only ? I explain, if someone forget to park his vehicule and if there’s a reboot, impossible to find the vehicule after the reboot. esx-advancedgarage add other system garage that i don’t need, it duplicate the vehicules. If you ever have another parked vehicule in esx-advancedgarage or realparking the impoundment will create the same vehicule. I tried to use esx_impound but it doesn’t work, it doesn’t capture any vehicule in impound, even when my vehicules are no longer in the garage after a reboot. If it’s possible to help me, i will thank you in advance.

There’s a thing to makes script fails with
lastname (nil value) if any of your users doesn´t put Name and Lastname, to repair parkings, only delete users who doesn´t do it, an fuck off for him and his progress, i seeing how to i can make obligatory to put the name and lastname on the character at enter the server…

Hey Akkariin,

What is that ped model ^^ i am curious about that haha. Btw also nice script thumbs up for that as well.

Hi @Akkariin, i have some tweaks for your real parking script, can i upload it modified ?
You can park where you want in my modified script.
Fixed the floating cars issue, seems its still present in the last version.
Vehicles only appears for the owner, so the server wont collapse with a ton of spawned cars for everybody and you cant park your car above a parked car and create glitches
regards to @mikastro, he tries to explain how to do it but he pasted bad the codes.
Oh, and i added a carkey with NativeUI, it allows finding the vehicle with gps and closing the doors at a configurable distance

1 Like

SetVehicleHandlingFloat(tempVeh, ‘CHandlingData’, ‘fInitialDriveForce’, 0.0) instead of FreezeEntityPosition(tempVeh, true)
dont copy/paste the code, it won’t work, write it manually

looks like this in the final script

Wait(100)
SetVehicleHandlingFloat(tempVeh, ‘CHandlingData’, ‘fInitialDriveForce’, 0.0)
if vehicleData.owner ~= PlayerData.identifier then
SetVehicleDoorsLocked(tempVeh, 2)
DeleteEntity(tempVeh)
end

Wait(100)
SetVehicleHandlingFloat(tempVeh, ‘CHandlingData’, ‘fInitialDriveForce’, 0.0)
if vehicles[i].owner ~= PlayerData.identifier then
SetVehicleDoorsLocked(tempVeh, 2)
DeleteEntity(tempVeh)
end

And im sure that DeleteEntity it is in charge of deleting the car if it is not your property, so with that code you will only be able to see parked cars that are yours

can you please put saving the fuel and windows broke and doors?