ScarDoc

Start typing to search the SCAR reference.

Function
Cmd

Cmd_Upgrade

Sends an upgrade command to a player, egroup or sgroup. accepts a single upgrade or table of upgrades.

On this page
Cmd_Upgrade(user, blueprint, count, instant)

Description

Sends an upgrade command to a player, egroup or sgroup. accepts a single upgrade or table of upgrades.

Parameters

  • userPlayerID/EGroupID/SGroupIDrequired
  • blueprintUpgradeBlueprint/Tablerequired
  • countIntegeroptional
  • instantBooleanoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/command.scar