mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
tweak(vehicleProperties): increase timeout when setting properties
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user