Skip to content

GetPlayerCarryItem

What a player carries in his hands, if anything.

GetPlayerCarryItem(pid)
Parameter Type
pid number the player

number, string | nil - the carry item’s entity id and its item’s name (or class GUID) - from the moment his pickup starts; nil when he carries none

local id, item = GetPlayerCarryItem(pid)
if id then SendClientMessage(pid, COLOR_SERVER, "You carry " .. item) end

GetCarryItemHolder · PickUpCarryItem · the Carry items group of the index