Dota 2 Workshop Tools/Scripting/API/CDOTABaseGameMode.SetStashPurchasingDisabled: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
||
Line 6: | Line 6: | ||
''' void SetStashPurchasingDisabled(bool '' | ''' void SetStashPurchasingDisabled(bool ''bDisabled'') ''' | ||
'' | ''Turn purchasing items to the stash off/on. If purchasing to the stash is off the player must be at a shop to purchase items.'' | ||
Line 14: | Line 14: | ||
;Example | ;Example | ||
<source lang="lua"> | <source lang="lua"> | ||
function CDOTABaseGameMode:SetStashPurchasingDisabled( | function CDOTABaseGameMode:SetStashPurchasingDisabled( bDisabled ) end | ||
</source> | </source> | ||
== Parameters == | == Parameters == | ||
Line 23: | Line 23: | ||
|- | |- | ||
| bool | | bool | ||
| | | bDisabled | ||
| No Description Set | | No Description Set | ||
|} | |} |
Revision as of 23:17, 18 June 2015

Function Description
void SetStashPurchasingDisabled(bool bDisabled)
Turn purchasing items to the stash off/on. If purchasing to the stash is off the player must be at a shop to purchase items.
- Example
function CDOTABaseGameMode:SetStashPurchasingDisabled( bDisabled ) end
Parameters
Type | Name | Description |
---|---|---|
bool | bDisabled | No Description Set |