ScarDoc

Start typing to search the SCAR reference.

Function
Player

Player_AddResources

Add resources to player, as opposed to just setting it.

On this page
Player_AddResources(playerId, resources)

Description

Add resources to player, as opposed to just setting it.

Parameters

  • playerIdPlayerIDrequired
  • resourcesTablerequired

Returns

Void

Source

Declared in the game's script sources at:

scar/player.scar