Advertisement
Guest User

Backpack items DBMarket Value

a guest
Feb 18th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. /run local t,s,q,l,v=0 for b=0,4 do s=GetContainerNumSlots(b) for i=1,s do _,q,_,_,_,_,l=GetContainerItemInfo(b,i) v=TSMAPI_FOUR.CustomPrice.GetItemPrice(l,"DBMarket") if v then t=t+(v*q)end end end print("Total: "..format("%.0f gold",t/10000))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement