mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-09-04 16:23:21 +00:00
Revert "feat (server/player): Added Job update on duty update" - IdrisDose
This commit is contained in:
@@ -232,8 +232,6 @@ function QBCore.Player.CreatePlayer(PlayerData)
|
|||||||
function self.Functions.SetJobDuty(onDuty)
|
function self.Functions.SetJobDuty(onDuty)
|
||||||
self.PlayerData.job.onduty = onDuty
|
self.PlayerData.job.onduty = onDuty
|
||||||
self.Functions.UpdatePlayerData()
|
self.Functions.UpdatePlayerData()
|
||||||
TriggerEvent('QBCore:Server:OnJobUpdate', self.PlayerData.source, self.PlayerData.job)
|
|
||||||
TriggerClientEvent('QBCore:Client:OnJobUpdate', self.PlayerData.source, self.PlayerData.job)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function self.Functions.SetMetaData(meta, val)
|
function self.Functions.SetMetaData(meta, val)
|
||||||
|
|||||||
Reference in New Issue
Block a user