getFreeWeight

Description

Returns how much free weight the player currently has.

Parameters

  • identifier (string): The source of the player.

Return Value

  • Returns the amount of free weight available as a number.

Example Use Case

local freeWeight = ps.getFreeWeight(source)
print("Player can carry " .. freeWeight .. " more weight.")

Last updated