Skip to content

Commit

Permalink
tweak(vehicleProperties): increase timeout when setting properties
Browse files Browse the repository at this point in the history
  • Loading branch information
DokaDoka committed Jun 1, 2022
1 parent 4cd53ee commit 9a019d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/vehicleProperties/client.lua
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9a019d6

Please sign in to comment.