[RE-RELEASE] esx_eden garage2: 3 in 1 garage

Hi all, is it possible to remove the map blip for a specific garage without removing the position because that removes the impound too.Thanks in advance! :slight_smile:

Hellu! Im looking for the resource in that? whare is it?

if i upload eden_garage_en it says duplicate column name state

possible, but you-ll have to fiddle with the ode

what are you saying?

thats an old sql take new one

any idea how I could get [Release][C#] VStancer to work with this script?

It is normal that when i restart the script it doesnt works?

really easy to do, create a column and name it vstancer and with the exports add it into database and when you get out the car you set the value :slight_smile:

yes , you need to restart ft_libs again

When i restart ft_libs all the spawnpoints dissappear

You need To restart garage the n ft libs

I have done this to have MafiaPoints apart from normal one, but i would like to know how to set it in a way only mafia can see and use them

	for k,v in pairs (Config.Mafias) do
		exports.ft_libs:AddArea("esx_eden_garage_area_"..k.."_garage", {
			marker = {
				weight = v.Marker.w,
				height = v.Marker.h,
				red = v.Marker.r,
				green = v.Marker.g,
				blue = v.Marker.b,
				type = 27,
			},
			trigger = {
				weight = v.Marker.w,
				active = {
					callback = function()
						exports.ft_libs:HelpPromt(v.HelpPrompt)
						if IsControlJustReleased(0, 38) and IsInputDisabled(0) and GetLastInputMethod(2) and not IsPedInAnyVehicle(PlayerPedId()) then
							OpenMenuGarage(v, "personal", k, "car")
						end
					end,
				},
				exit = {
					callback = exitmarker
				},
			},
			blip = {
				text = v.Name,
				colorId = Config.BlipMafia.color,
				imageId = Config.BlipMafia.sprite,
			},
			locations = {
				v.Pos				
			},
		})
		exports.ft_libs:AddArea("esx_eden_garage_area_"..k.."_spawnpoint", {
			marker = {
				weight = v.SpawnPoint.Marker.w,
				height = v.SpawnPoint.Marker.h,
				red = v.SpawnPoint.Marker.r,
				green = v.SpawnPoint.Marker.g,
				blue = v.SpawnPoint.Marker.b,
				type = 27,
			},
			trigger = {
				weight = v.SpawnPoint.Marker.w,
				active = {
					callback = function()
						exports.ft_libs:HelpPromt(v.SpawnPoint.HelpPrompt)
						if IsControlJustReleased(0, 38) and IsInputDisabled(0) and GetLastInputMethod(2) and not IsPedInAnyVehicle(PlayerPedId()) then
							ListVehiclesMenu(v, "personal", k, "car")
						end
					end,
				},
				exit = {
					callback = exitmarker
				},
			},
			locations = {
				{
					x = v.SpawnPoint.Pos.x,
					y = v.SpawnPoint.Pos.y,
					z = v.SpawnPoint.Pos.z,
				},
			},
		})
		exports.ft_libs:AddArea("esx_eden_garage_area_"..k.."_deletepoint", {
			marker = {
				weight = v.DeletePoint.Marker.w,
				height = v.DeletePoint.Marker.h,
				red = v.DeletePoint.Marker.r,
				green = v.DeletePoint.Marker.g,
				blue = v.DeletePoint.Marker.b,
				type = 27,
			},
			trigger = {
				weight = v.DeletePoint.Marker.w,
				active = {
					callback = function()
						exports.ft_libs:HelpPromt(v.DeletePoint.HelpPrompt)
						if IsControlJustReleased(0, 38) and IsInputDisabled(0) and GetLastInputMethod(2) then
							StockVehicleMenu("personal", k, "car")
						end
					end,
				},
				exit = {
					callback = exitmarker
				},
			},
			locations = {
				{
					x = v.DeletePoint.Pos.x,
					y = v.DeletePoint.Pos.y,
					z = v.DeletePoint.Pos.z,
				},
			},
		})
	end
1 Like

it is not done like that…

Just edited a bit your vehicleshop, so these guys and other jobs can buy their “job” vehicle (owner column should be the job of the guy) like this:

Example database

then add here name of the job with all their points

then to trigger it only for maffie either trigger this when they take their duty or on connection :
TriggerEvent(‘esx_eden_garage:EnableSocietyGarage’, ‘mafia’, true)
and to disable
TriggerEvent(‘esx_eden_garage:EnableSocietyGarage’, ‘mafia’, false)

Blockquote[quote=“Jager_Bom, post:1223, topic:150511”]
really easy to do, create a column and name it vstancer and with the exports add it into database and when you get out the car you set the value :slight_smile:
[/quote]

I’m assuming I create this as a longtext in my owned vehicles SQL, and then put the exports in the server.lua? Could you maybe give me an example of how it should look please?

yes and vstancer is client, so you’ll have to send the data to server

I need help to fix this please. Since i update from 15xx to 28xx my server im having errors with some scripts.

And this one too, and i dont know why is happening.

first check if your client/config file hasn’t any errors, like forgotten commas, brakets and so on …

Dont worry i just stop using this resource.

if a garage with one label to take a car and put a car on this label

Sorry but I have the problem that I have the script to finance the vehicles, when I buy the vehicle I can insure it in the garage but it will not let me take it out, if it does not stay registered in the database I am a very newbie I could use some help, Thank you