From 9928ce12ad76d3546e297653b8c9b1531e509f57 Mon Sep 17 00:00:00 2001 From: vanillaa <80897991+evanillaa@users.noreply.github.com> Date: Sun, 14 Nov 2021 12:53:16 +0200 Subject: [PATCH] cleanup --- client/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/functions.lua b/client/functions.lua index 240a891..4d2b947 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -279,7 +279,7 @@ function QBCore.Functions.SpawnVehicle(model, cb, coords, isnetworked) end RequestModel(model) while not HasModelLoaded(model) do - Citizen.Wait(10) + Wait(10) end local veh = CreateVehicle(model, coords.x, coords.y, coords.z, coords.w, isnetworked, false) local netid = NetworkGetNetworkIdFromEntity(veh)