mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 02:38:53 +00:00
Fixed while statement
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ Citizen.CreateThread(function()
|
||||
local status = GetResourceState(resourceName)
|
||||
|
||||
if status == 'started' or status == 'starting' then
|
||||
while status == 'starting' do
|
||||
while GetResourceState(resourceName) == 'starting' do
|
||||
Citizen.Wait(100)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user