qbcore-framework / qb-core

FiveM RP Framework Core :muscle:
GNU General Public License v3.0
582 stars 962 forks source link

[BUG] GetTotalWeight Missing export #1108

Closed Mikezaooo closed 4 months ago

Mikezaooo commented 4 months ago

Summary

The GetTotalWeight export is missing

Reproduction

Simply call https://github.com/qbcore-framework/qb-core/blob/main/server/player.lua#L575

Expected behavior

Expected to return the total weight of passed items.

Actual behavior

Return missing export at inventory

Additional context

No response

Last Updated

today

Custom Resources

no

Resource Rename

qb-core

GhzGarage commented 4 months ago

Thanks https://github.com/qbcore-framework/qb-inventory/commit/afed825a9a74251f650c29f809c64fbf52d82991