Function
Player
Player_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
Player_SetCommandAvailability(player, 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
playerPlayerIDrequiredcommandInteger/TablerequiredavailabilityIntegerrequired
Returns
UnknownSource
Declared in the game's script sources at:
scar/player.scar