Function
Team
Team_SetCommandAvailability
Sets the availability of entity, squad and player commands. Availability can be either ITEM_LOCKED, ITEM_UNLOCKED, ITEM_REMOVED or ITEM_DEFAULT
On this page
Team_SetCommandAvailability(team, command, availability)Description
Sets the availability of entity, squad and player commands. Availability can be either ITEM_LOCKED, ITEM_UNLOCKED, ITEM_REMOVED or ITEM_DEFAULT
Parameters
teamTeamIDrequiredcommandInteger/TablerequiredavailabilityIntegerrequired
Returns
UnknownSource
Declared in the game's script sources at:
scar/team.scar