you are using the new ESX so change the limit to weight in this line
INSERT INTO items(name, label, **limit**) VALUES (‘parkingcard’, ‘Parking Card’, -1);
INSERT INTO items(name, label, **weight**) VALUES (‘parkingcard’, ‘Parking Card’, -1);
Hi thanks for this awesome script, i have a problem, when i try to save the my car with damage, it spawn repared
change to this DisplayHelpText(Config.Locale[“need_parking_fee”]), this fix my issue
I have an error :
SCRIPT ERROR: @esx_realparking/Client/main.lua:192: attempt to index a Nil value (field ‘?’ )
handler (@esx_realparking/Client/main:lua:29
Client main lua:192
if type(vehicle.plate) ~= 'nil' and type(LocalVehicles[i].plate) ~= 'nil' then
Client main lua:29
DeleteLocalVehicle(vehicle)
Anyone help ? or have a Fix ? Thanks.
The Script is Working.
but i have the Errors 
Great script! Thank you!
There’s a problem tho. The script does not lock the car doors. And if I use my own carlock script the cars can be lockpicked by other players and they can acces glovebox and trunk.
Is there any way to lock the car doors and only the owner can unlock it?
Hey nice script but we have a huge problem not matter what iam changing lol
would be nice if you could help me 
changing esx version in the config doesnt help
Hi. What is the command to park trailers and helicopters and planes? I found motorcycle. Please help who really great
Client/main.lua found:
RegisterNetEvent("esx_realparking:refreshVehicles")
AddEventHandler("esx_realparking:refreshVehicles", function(vehicles)
RemoveVehicles()
Citizen.Wait(1000)
SpawnVehicles(vehicles)
end)
TO:
RegisterNetEvent("esx_realparking:refreshVehicles")
AddEventHandler("esx_realparking:refreshVehicles", function(vehicles)
--RemoveVehicles()
Citizen.Wait(1000)
SpawnVehicles(vehicles)
end)
and you can Drive with a friend in this Zone
wow thanks
Using Version 1.3 and get an error in console:
[ERROR] [MySQL] [esx_realparking] An error happens on MySQL for query "SELECT identifier, name FROM users": ER_BAD_FIELD_ERROR: Unknown column 'name' in 'field list'
Using es_extended, never use essentialmode
Fix in server.lua Line 193 change name to lastname
if Config.UsingOldESX then
local nrs = MySQL.Sync.fetchAll("SELECT identifier, lastname FROM users")
if type(nrs) == 'table' then
for k, v in pairs(nrs) do
nameList[v.identifier] = v.name
end
end
Still 've problems with this fantastic script and need help, please:
[First Bug]
Using Version 1.3. Park my cars erverything fine but other player park his car it flys. After restart or rejoin the cars are all fine. The radius is teste by 50.0 and 100.0 same problem.
How to fix it, please?
[Second Bug]
After rejoin the player cars Owner = nil but if I park the Owner is right.
How to fix it, please? Copy @Akkariin
There could be a lot of things happening, I’m thinking that the tollbooth is parking players vehicles in spaces that are already occupied or the server thinks that the cars are parked so close next to each other that it launches the car due to scuff ness, I’m also thinking the results when the vehicles are floating after restarts and parked to close to each other that causes the vehicle to again launch in the air and there is a fix for parked vehicles floating in this thread. As for player the owner showing up as nil I’m having that same issue and don’t know of a fix, i know it has something to do with the SQL so I just commented out on the client side of real parking so i don’t have to worry bout it
Here’s what lines I commented client side if you don’t want to always see nil or if you just don’t want to see the vehicle owners info. Comment out lines 339-356 or just copy and past
--[[Citizen.CreateThread(function()
while true do
Wait(0)
local pl = GetEntityCoords(GetPlayerPed(-1))
for k, v in pairs(Config.ParkingLocations) do
if GetDistanceBetweenCoords(pl.x, pl.y, pl.z, v.enter.x, v.enter.y, v.enter.z, true) < 20 then
Draw3DText(v.enter.x, v.enter.y, v.enter.z, v.name, 0, 0.2, 0.2)
Draw3DText(v.enter.x, v.enter.y, v.enter.z - 0.5, string.format(_U("parking_fee", v.fee)), 0, 0.1, 0.1)
end
end
for k, v in pairs(LocalVehicles) do
if GetDistanceBetweenCoords(pl.x, pl.y, pl.z, v.data.location.x, v.data.location.y, v.data.location.z, true) < 3.0 then
Draw3DText(v.data.location.x, v.data.location.y, v.data.location.z, string.format(_U("owner", v.name)), 0, 0.08, 0.08)
Draw3DText(v.data.location.x, v.data.location.y, v.data.location.z - 0.2, string.format(_U("plate", v.plate)), 0, 0.05, 0.05)
end
end
end
end)]]
我给你报告一个严重的 BUG , 比如有两位玩家 一下列入 A 和 B 玩家
比如A玩家他的车给了B ,B使用他的车试图储存到车库,然后失败了!
这里我们让B玩家 离开这辆车,走远点。
这时A玩家车主马上使用这辆车储存到车库,这时问题就来了; B玩家被传送回来了。没错B玩家被传送到了刚才车辆的的旁边,你可以去实验这个BUG ,我没有编程经验,无法修复这个问题,不得不被迫停止使用这个插件。
希望我描述清楚了这个问题,如果你没有理解,我会重新叙述这个问题,感谢您的脚本非常不错的概念!希望修复。 
What does exs_advanced garage bcs for me it is just separeted
Hey, is it possible to change the time needed to fee the player? Now it is per day, what should I change so it is per hour or per 5 minutes for example? And also where to change how much does the fee cost per day/hour etc.
Sorry for bad english.
You can change all that in the config file
Found it but there’s bug with vehicles, they’re floating, exact same vehicles spawnes inside my car and parking card also makes no effect.
Try doing this
as for the vehicles spawning in side your car, it may be that another player has already parked there and the server had local deleted it then it comes back after server restart. But if it’s a local car then you would have to change the way local cars spawn in meaning were they spawn and how they spawn in ether parked in a parking space or parked on the side of the street, I believe you have to make ymap or milo on code walker. Or they might have a script on the forums
Is it so heavy to use a translator, dude? he post…
I’m going to report a serious bug, like two players being listed as A and B players.
Let’s say player A gives his car to B, B uses his car to try to store it in the garage, and then fails!
Here we get Player B to get out of the car and walk away.
This is when Player A’s owner immediately uses the car to store it in the garage, and that’s when the problem comes; Player B is teleported back. Yes B player was teleported to the side of the vehicle just now, you can go and experiment with this bug, I have no programming experience, could not fix this problem, had to be forced to stop using this plugin.
I hope I described the issue clearly, if you didn’t understand it, I’ll recount the issue, thanks for the very nice concept of the script! Hope to fix.
Translated with www.DeepL.com/Translator (free version)
I’m sorry brother, I don’t use English because the author is Chinese and I have to translate. 
Simply put: when a player has tried to store a car that does not belong to him, it will fail! However, when the owner of this car saves this car again, the player who just failed to save will be sent to the side of this car! I use the translator directly. I hope you understand what I mean.
,,,,,Maybe you can try it with your friends…


