From 9a019d61ed05b240a74d4edd62a497d62672bb63 Mon Sep 17 00:00:00 2001 From: DokaDoka Date: Wed, 1 Jun 2022 15:09:49 +1000 Subject: [PATCH] tweak(vehicleProperties): increase timeout when setting properties --- resource/vehicleProperties/client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/vehicleProperties/client.lua b/resource/vehicleProperties/client.lua index dc60908dc..c4dd5b523 100644 --- a/resource/vehicleProperties/client.lua +++ b/resource/vehicleProperties/client.lua @@ -1,5 +1,5 @@ RegisterNetEvent('ox_lib:setVehicleProperties', function(netid, data) - local timeout = 10 + local timeout = 100 while not NetworkDoesEntityExistWithNetworkId(netid) and timeout > 0 do Wait(0) timeout -= 1