Dota 2 Workshop Tools/Scripting/API/CDOTA PlayerResource.SetGold

From Valve Developer Community
< Dota 2 Workshop Tools‎ | Scripting‎ | API
Revision as of 16:03, 15 August 2014 by Kinkyboo (talk | contribs) (Changed parameters and description for boolean c)
Jump to navigation Jump to search
Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

void SetGold(int amount, bool c)

No Description Set


Parameters

Type Name Description
int amount An amount of gold
bool c Add to current gold, false to set the gold