mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
fix gang menu recruiting does not have notify
SetGang must return true/false the gangmenu resource depends on this to give notifications
This commit is contained in:
@@ -196,7 +196,9 @@ QBCore.Player.CreatePlayer = function(PlayerData)
|
||||
|
||||
self.Functions.UpdatePlayerData()
|
||||
TriggerClientEvent("QBCore:Client:OnGangUpdate", self.PlayerData.source, self.PlayerData.gang)
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
self.Functions.SetJobDuty = function(onDuty)
|
||||
|
||||
Reference in New Issue
Block a user