yes indeed
could you please post a picture of your owned_vehicles database tables. i want to see the differences between yours and my own
So long as you have owner and plate in your owned vehicles table you should be good, I have some spare time tommorow if you want to give me some admin access to your tx server panel so I can see both console and client maybe I can help?
Iâd offer you a sub user to my server but zap hosting doesnât have that feature that Iâm aware
Remote lock not working with new buy car until server restart. How to solve this?
OMG, this is the same issue that ive been having that i posted about. i didnt realise it fixed on restart.
ive been trying to resolve this issue for about a week but i havnt found a solution. i thought i was the only one with this issue but i finally found someone in the same position.
hopefully the issue is able to resolved for both of our sake. its been driving me crazy
it seems that when you purchase a vehicle the remote lock doesnt work, but once i put the car in my garage and rebooted the server the locks work 
what if you trigger the event shorty_slocks:transferOwner when u buy the vehicle?
in esx_vehicleshop/client/main.lua#L257 add
TriggerServerEvent('shorty_slocks:transferOwner', generatedPlate, playerPed)
that should add u to the vehicle_data table and unlock the vehicle
i assume you are replying to ayobpro and my issue or someone elses?
where abouts would i enter this? i read L257 as line 257 but there isnt 257 lines in the script?
probably a really dumb question butâŚ
This is exactly the way to fix that issue, cheers Five been really busy today sorry for the delay guys
where would i put this line?
nvmâŚ
yes line 257 inside esx_vehicleshop/client/main.lua
should look something like this
ESX.Game.SpawnVehicle(vehicleData.model, Config.Zones.ShopOutside.Pos, Config.Zones.ShopOutside.Heading, function(vehicle)
TaskWarpPedIntoVehicle(playerPed, vehicle, -1)
SetVehicleNumberPlateText(vehicle, generatedPlate)
TriggerServerEvent('shorty_slocks:transferOwner', generatedPlate, playerPed)
FreezeEntityPosition(playerPed, false)
SetEntityVisible(playerPed, true)
end)
im so dumb i thought you meant the lock script⌠sorry xD
change generatedPlate to newPlate
well it looks right and if thats not working then maybe its a issue with the lock code 
I call it from server side, its already done all the working out and has inserted into the database, I call at the end of set owner and set owner Iâd server calls

