GetCarryItemDrink
What a carry item holds to drink.
Syntax
Section titled “Syntax”GetCarryItemDrink(entityId)| Parameter | Type | |
|---|---|---|
entityId |
number | the carry item |
Returns
Section titled “Returns”string, number - the drink’s item class ("" none) and the sips left (-1 endless)
Example
Section titled “Example”local drink, sips = GetCarryItemDrink(mug)if sips == 0 then SetCarryItemDrink(mug, drink, 3) end -- the barmaid refills itSee also
Section titled “See also”SetCarryItemDrink · the Carry items group of the index
