tfc_get_user_goalitem

Syntax

native tfc_get_user_goalitem(index, &team);

Description

Returns 1 if user is carrying a goal item such as a flag or a keycard, else 0.
Team is by reference parameter that will be set to owning team(s) of the goal item.
Use the TFC_GOALITEM_* constants to determine the owning team.