[CitizenMP] [Release] [EN] [Async] Garages V6 - 23/09/18

I can installé ply garage before ply garage2?

ply garage2 is uncompatible with old garage. u need to install ply_garage2 without ply_garage.

Hey, to start with, I must say good job for this, I love it! But I have an issue with the vehicles: impossible for the garage to detect them. I can’t store or get them, everything else is working and I downloaded everything (prefecture, garages, insurance and basemod) to the latest version. It doesn’t work in personal garage nor the public one and there is no error :confused:. Does anyone have the same issue ?

2 Likes

same here! dude this is so bad.

its possible sell the garage its infinite http://prntscr.com/fwou63

you need it : pNotify : [Release] pNotify - In-game JS Notifications Using NOTY

i sell my car but 0 money and my car is delete.

1 Like

server.lua juste :slight_smile:

function sellVehicle(plate)
MySQL.Async.execute(“DELETE from user_vehicle WHERE identifier=@identifier AND vehicle_plate=@plate”, {[’@identifier’] = getPlayerID(source), [’@plate’] = plate}, function(data)
end)
end

price/2 where ??

Yep you’re right. I updated the mod. See the wiki for the update of the day, thanks for tested it

Hello, everything works but the list of vehicles in the garages is empty so impossible to get it out. Yet the insurance finds the vehicle well

Hi ! I have a problem, when i buy a vehicle and i want to store it, the garage say “It’s not your vehicle”, but in my Base, it’s my vehicle. When i go to the prefecture for register, i have this error, can you help me ?

create column “personalvehicle” varchar 255 to your users table

Does it fix the issue with the plates when you register new customs ?
-> When I save customs one vehicle it sets the same plate for all of them, I noticed it is always the last characters of the steam ID like mine always end by 927 for example

Okay thx, but i have the same error, at the prefecture, i can’t register a vehicle, it say “It’s not your vehicle” and i don’t know why :’(

In game :
http://hpics.li/3eb4555
In consol :
http://hpics.li/f77c3b5
In Database user_vehicle :
http://hpics.li/611044a
In Database user :
http://hpics.li/db895e6

Click on icon to see picture

It still doesn’t work and I have everything updated:

My users table (personalvehicle is okay?):

Get a vehicle (garage 22):

Get a vehicle (garage 15):

Trying to sell garage 15:

Trying to register a fresh bought car :

My vehicles (DB):

Console:

Ahhh dude. That’s not your problem. (We talked about this issue with @Plysken_Rayder).

To fix: Open all client.lua files (garages2, insurance, prefecture).

Add, Citizen.Wait(500) before all ply_basemod calls .

Tip: You can find calls easily with Ctrl+F

  • EXAMPLE : (look at the lines 188,189) ------>>>> Do these modifications on insurance and prefecture too.

I hope it helps !!!

Thanks for the help but unfortunatly it doesn’t work :sweat: I don’t know wait to do, it should work I don’t understand…

I have no garages displayed on the map, someone have the same problem ?

did you installed basemod ?

do you have teamviewer ?