[Release][YMAP] Car Bumper / auto tamponneuse

" Hi FIVEM :wave:for once it’s a fun creation perfect for small moments with friendsr "

----------------------------------------------------------------------------

:books:Table of contents :

  • :hammer_and_pick: Description
  • :camera: Screenshot exemple
  • :video_camera: Vidéo demonstration
  • :pushpin: The Place
  • :file_folder: On the Zip
  • :gear: About the script
  • :oncoming_automobile: About the vehicle
  • :floppy_disk: Download the mapping + script + car

----------------------------------------------------------------------------

:hammer_and_pick: Description:

What can you find here ?

  • A place for fun with friends :rofl:

----------------------------------------------------------------------------

:camera: Screenshot exemple :

:triangular_flag_on_post: the rendering is nicer at night with the lights (see the video for more details)

----------------------------------------------------------------------------

:video_camera: Vidéo demonstration :

----------------------------------------------------------------------------

:pushpin: THE PLACE :

At the fair :carousel_horse:

----------------------------------------------------------------------------

:file_folder: On the zip :
Mapping + script + car + instruction [ FR :fr: / EN :uk:]
Screenshot_270

----------------------------------------------------------------------------

:gear: About the Script

  • It’s simple script for rent a car.
  • vehicle are visible
  • you can choose your rent time
  • two version of script : French and english trade
    ( more information on the instruction file )

----------------------------------------------------------------------------

:oncoming_automobile: About the vehicle

driving is perfect for this kind of event , not to fast , not to low, not easy to drive,not hard to drive.

----------------------------------------------------------------------------

:floppy_disk: Download the mapping + script + car :

autobumperpatoche.zip (18.2 MB)

----------------------------------------------------------------------------
:innocent: This is again my small contribution to the fivem community Hope you enjoy

17 Likes

Where is the map folder located?

im not sure where your files are located but both the lambokart file and the Pack go in the resource file.

it’s your first install of mapping and car ?

Seems cool! Nice release :smiley:

He verified that sometimes a problem when he rents the car, the character becomes invisible.

Yea, but everything still worked fine just putting it in the resource folder, except that my character turns invisible.

J’ai exactement le même soucis mon personnage devient invisible est-ce normal?

This is bug of esx_vehiclesrent script, not sure why this is happening, hopefully somebody can come up with the solution

Excellent work as usual. it works super well <3

Excellent travail comme d’habitude. ça marche super bien <3

1 Like

have a error in the server.lua in line 41

Yea becoming invisible is a thing and hopefully that gets resolved. Other then that this is very awesome.

1 Like

Replace line 41
if vehicle.price <= xPlayer.get(‘money’) then

by this line

if vehicle.price <= xPlayer.getMoney() then

ah thanks

Mais ou sont ces callback mdr un oubli ou une dependance

ESX.TriggerServerCallback('esx_truckshop:getVehicles', function (vehicles)
Vehicles = vehicles
end)

ESX.TriggerServerCallback('esx_tvehicleshop:getVehicles', function (vehicles)
Vehicles = vehicles
end)

who can help me add this in fivem ? :frowning: please

geekbear : Good Work for your mod but you reupload my LamboCart (Make with my team Los Santos Import) without autorization … and no credits ….
i know you make the fivem addon but the first thing to do it’s ask original modder and put all credits …

Link : https://fr.gta5-mods.com/vehicles/lamborghini-aventador-jota-kart-add-on

1 Like

No reply so @moderators can you remove this file please because this use my car mod … see my first message :arrow_up:

1 Like

Nice release, i’ve made this little client script to:

  • Delete non “lambokart” vehicles into the bumper track
  • AutoRepair the “lambokart” every 30 seconds
  • Delete the “lambokart” if it goes outiside the bumper track

It’s using pnotify also, if you don’t have it just remove the notification triggers.

inscontro = {}
autoscontri = nil

autoscontro = {
	["autoscontro"] = {-1732.5598144531,-1182.0415039063,12.998778343201, 41}
}

Citizen.CreateThread(function()
	while true do
		Citizen.Wait(0)
	
		
		local playerPos = GetEntityCoords(GetPlayerPed(-1), true)
		local px,py,pz = playerPos.x, playerPos.y, playerPos.z
		
		for i, v in pairs(autoscontro)do
			x, y, z = v[1], v[2], v[3]
			radius = v[4]
			if(GetDistanceBetweenCoords(x, y, z,px,py,pz) < radius)then
				inscontro = true
				autoscontri = i
			end
		end
		if(autoscontri ~= nil)then
			x2, y2, z2 = autoscontro[autoscontri][1], autoscontro[autoscontri][2], autoscontro[autoscontri][3]
			radius2 = autoscontro[autoscontri][4]
			if(GetDistanceBetweenCoords(x2, y2, z2,px,py,pz) > radius2)then
				inscontro = false
				autoscontri = nil
			end
		end
	end
end)

Citizen.CreateThread(function()
	while true do
		Citizen.Wait(0)
		ped = GetPlayerPed(-1)
		if (inscontro == true) then
		pvp_drawTxt(0.68, 1.44, 1.0,1.0,0.4, "~w~Sei in ~g~Pista. Prendi un automobilina!", 255, 255, 255, 255)
			local model = GetEntityModel(GetVehiclePedIsIn(GetPlayerPed(-1)))
			local vehicle = GetVehiclePedIsIn(GetPlayerPed(-1))
			local classe = GetVehicleClass(vehicle)
			print(model)
			print(classe)
			--print(vannobene)
			if model == -887697393 then			
			SetVehicleFixed(vehicle)
			TriggerEvent("pNotify:SendNotification", {text = "Automobilina riparata, buon divertimento.", type = "success", timeout = 6000, layout = "bottomCenter"})
			Citizen.Wait(30000)
			elseif model ~= -887697393 and model ~= 0 then
			if classe ~= 14 and classe ~= 15 and classe ~= 16 then
			print(classe)
			print(consentiti)
			TriggerEvent("pNotify:SendNotification", {text = "Veicolo vietato in pista! Verrà eliminato.", type = "error", timeout = 6000, layout = "bottomCenter"})
			Citizen.Wait(30000)
			SetEntityAsMissionEntity(vehicle,true,true)
            DeleteVehicle(vehicle)
			DeleteEntity(vehicle)
			end
		end	
		end
	end
end)

Citizen.CreateThread(function()
    while true do
        Citizen.Wait(0)
		local ped = PlayerPedId()
            if (inscontro == false) then
			local model = GetEntityModel(GetVehiclePedIsIn(GetPlayerPed(-1)))
			local vehicle = GetVehiclePedIsIn(GetPlayerPed(-1))
			local classe = GetVehicleClass(vehicle)
			local vitaauto = GetVehicleEngineHealth( vehicle )
			if model == -887697393 then
			if vitaauto <= 300 then
			SetEntityAsMissionEntity(vehicle,true,true)
            DeleteVehicle(vehicle)
			DeleteEntity(vehicle)
			TriggerEvent("pNotify:SendNotification", {text = "Automobilina fuori pista.", type = "error", timeout = 6000, layout = "bottomCenter"})
			Citizen.Wait(30000)
        end
		end
		end
    end
end)

i love the script but when using the English version i disappear when i rent a car can someone help plz