# Set Resource Trade Countdown Time
Grammar — Disable resource trading for countdownTime seconds
Flags —Native
|Action
Disables resource trading for the specified amount of time in seconds.
# Arguments
int
— Countdown Time
Returns — void
native void UISetResourceTradeCountdownTime(int time);
# Related
Category: UI / Resource Trading
- Set Resource Trade Countdown Time —
void
— UISetResourceTradeCountdownTime - Set Resource Trading Allowed —
void
— UISetResourceTradingAllowed - Set Resource Trading Minor Step —
void
— UISetResourceTradingMinorStep - Set Resource Trading Major Step —
void
— UISetResourceTradingMajorStep
# Examples
mods/warcoop/warclassic.sc2mod — base.sc2data/TriggerLibs/WarClassic.galaxy:1006
}
UISetResourceTradeCountdownTime(0);
UISetResourceTradingMajorStep(c_resourceTypeTerrazine, 200);
UISetResourceTradingMajorStep(c_resourceTypeCustom, 100);