This plugin you can give vehicle with custom or random plate number into player’s garage with command, also you can delete a vehicle by plate number
Commands:
In game: (give permission in config)
Give a car to the target player: /givecar [playerID] [vehicle] <plate>
Give a plane to the target player: /giveplane [playerID] [vehicle] <plate>
Give a boat to the target player: /giveboat [playerID] [vehicle] <plate>
Give a helicopter to the target player: /giveheli [playerID] [vehicle] <plate> Note: If plate is none will randomly generate a new plate
go to server.lua and search this TriggerEvent('es:addGroupCommand', 'givecar', 'admin', function(source, args, user)
change to this TriggerEvent('es:addGroupCommand', 'givecar', 'superadmin', function(source, args, user)
With me works with all addons. When I execute the command, I am informed that there is no car but 1 second later the license plate is generated and the car is parked. It was never a problem.
ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'stored)
how to fix this ?
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'stored) getting then when trying to give someone a car?