Vrp ls custom one sync problem [RESOLVED]

I have a problem with vrp_lscustoms, the player to press the “E” does not appear the car
OBS: DOES NOT CONTAIN ERROR IN F8 AND NOT IN THE CONSOLE

Sorry, my English is not very good.!
unknown|690x388

[resolved]

but doesn’t care to share the solution. good going!

I would also like to know because we are experiencing this same issue but with ESX version of ls customs

Vrp_lscustoms FIXED

vrp_lscustoms.rar (25.3 KB)

Thanks, I was also able to resolve it on my end. One thing however is that it doesn’t make you invisible to others (possibly due to the network native?) so more work is needed but at least you can see your car upgrades. Here is how I did it:

I use esx_lscustomsV2

Starting on line 512 of the client.lua, you must find and uncomment the SetEntityVisible(veh, true, 0) line of code. See below for an example of my code.

Citizen.CreateThread(function()
			--NetworkSetEntityVisibleToNetwork(entity, toggle)
			NetworkFadeOutEntity(veh, 1,1)
			FadeOutLocalPlayer(1)
			--NetworkUnregisterNetworkedEntity(veh)
			--NetworkSetEntityVisibleToNetwork(veh, true)
			SetEntityVisible(veh, true, 0) **<-- UNCOMMENT THIS LINE HERE**
			--SetNetworkIdExistsOnAllMachines(NetworkGetNetworkIdFromEntity(veh), false)
			--SetEntityLocallyVisible(veh,true)
			--SetEntityLocallyInvisible(veh,false)
			SetEntityCoordsNoOffset(veh,pos.drivein.x,pos.drivein.y,pos.drivein.z)
			SetEntityHeading(veh,pos.drivein.heading)
			SetVehicleOnGroundProperly(veh)
			SetVehicleLights(veh, 2)
			SetVehicleInteriorlight(veh, true)
			SetVehicleDoorsLocked(veh,4)
			SetPlayerInvincible(GetPlayerIndex(),true)
			SetEntityInvincible(veh,true)
			SetVehRadioStation(veh, 255)
1 Like

Thanks