mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
Notify if inventory is full
This commit is contained in:
@@ -321,6 +321,8 @@ QBCore.Player.CreatePlayer = function(PlayerData)
|
||||
end
|
||||
end
|
||||
end
|
||||
else
|
||||
TriggerClientEvent('QBCore:Notify', self.PlayerData.source, "Inventory is full!", "error")
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user