Rename function to be called in the loop

This commit is contained in:
BerkieBb
2021-07-30 21:04:50 +02:00
committed by GitHub
parent aabe717775
commit 6ef71fbc0e
+1 -1
View File
@@ -9,5 +9,5 @@ PaycheckLoop = function()
TriggerClientEvent('QBCore:Notify', Players[i], "You received your paycheck of $"..Player.PlayerData.job.payment)
end
end
SetTimeout(QBCore.Config.Money.PayCheckTimeOut * (60 * 1000), GivePayCheck)
SetTimeout(QBCore.Config.Money.PayCheckTimeOut * (60 * 1000), PaycheckLoop)
end