Merge pull request #179 from davidecab/patch-1

Notify if inventory is full
This commit is contained in:
Kakarot
2021-09-08 23:40:44 -05:00
committed by GitHub
+2
View File
@@ -321,6 +321,8 @@ QBCore.Player.CreatePlayer = function(PlayerData)
end
end
end
else
TriggerClientEvent('QBCore:Notify', self.PlayerData.source, "Your inventory is too heavy!", "error")
end
return false
end