Fixed error setting status on a unknown player

This commit is contained in:
ElPumpo
2018-04-09 01:49:11 +02:00
parent 3cfe679ef2
commit 94fa8619f3
2 changed files with 5 additions and 10 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ local isPaused = false
Citizen.CreateThread(function()
while true do
Citizen.Wait(1)
Citizen.Wait(10)
if IsPauseMenuActive() and not isPaused then
isPaused = true
TriggerEvent('esx_status:setDisplay', 0.0)