mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-28 17:01:16 +00:00
Update events.lua
This commit is contained in:
@@ -101,8 +101,6 @@ AddEventHandler('QBCore:UpdatePlayer', function(data)
|
||||
Player.Functions.SetMetaData("thirst", newThirst)
|
||||
Player.Functions.SetMetaData("hunger", newHunger)
|
||||
|
||||
Player.Functions.AddMoney("bank", Player.PlayerData.job.payment)
|
||||
TriggerClientEvent('QBCore:Notify', src, "You received your paycheck of $"..Player.PlayerData.job.payment)
|
||||
TriggerClientEvent("hud:client:UpdateNeeds", src, newHunger, newThirst)
|
||||
|
||||
Player.Functions.Save()
|
||||
|
||||
Reference in New Issue
Block a user