Notify if inventory is full

This commit is contained in:
David
2021-09-02 23:46:11 +02:00
committed by GitHub
parent 512b1c9d9f
commit 3800de1267
+2
View File
@@ -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