Quote:
Originally Posted by tvdynamo
This is total slots, I want to take all empty slots.
|
Declare @

Slot int = (select InventorySize from _Char where CharID = @

D)
Declare @

lot int = (
Select Count(*) from _Inventory where CharID = @

D and ItemID > 0 and Slot between 13 and @

Slot)