Difference between revisions of "CountDown"
Jump to navigation
Jump to search
(Created page with "<div style="padding:0.33em 2em;font-size:1.2em;font-weight:bold;display:block; border-bottom: #25A1A1 solid 1px; background-color:#E0FFFF;color:#25A1A1">Description</div> <dl...") |
|||
Line 81: | Line 81: | ||
<div style="display:block;">[[ZeusFPS]]</div> | <div style="display:block;">[[ZeusFPS]]</div> | ||
<div style="display:block;">[[preventProne]]</div> | <div style="display:block;">[[preventProne]]</div> | ||
<div style="display:block;">[[slotLimit]]</div> | |||
</dd> | </dd> | ||
Revision as of 19:52, 15 June 2021
Description
- Description:
A function to display a countdown timer for all players.
- Execution:
call
- Groups:
Utility Functions: Eric's Mission Framework
Syntax
- Syntax:
[time, text, blocking] call EMF_fnc_countDown
- Parameters:
time: Number - Time to countdown in seconds.
text: String - Text to display with countdown.
blocking: Boolean - (Optional) When true Will block further execution of code until countdown is finished. [Default: false]
- Return Value:
Boolean - Returns true on success.
Examples
- Example 1:
[60, "Weapons hot in: "] call EMF_fnc_countDown;
- Example 2:
[30, "Suffocation in: ", true] call EMF_fnc_countDown;
hint "You suffocated";
Additional Information
- See also:
Notes