Fixed while statement

This commit is contained in:
ElPumpo
2020-04-13 19:02:56 +02:00
parent 238bcae7c0
commit 71e24f0a72
+1 -1
View File
@@ -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