• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

item stackable until caps end

flaviiojr

Active Member
Joined
Jan 20, 2017
Messages
230
Solutions
13
Reaction score
39
What is a function or calculation that works as follows: pull stackable items to the limit of the cap ...

Ex. Player has 100 cap, and stackable has 100 items, each stackable item weighs 2.00oz ... By pulling the items to bp, it will only be moved to BP 50 items (100.0oz), which is the cap limit.

which function to use? or is there any way to solve this incognita?
thanks
 
This shouldn‘t be applied in a script but in the server sources, and to be specific it‘s there, you just have to read, understand and fix it.
 
Back
Top