Difference between revisions of "SlotLimit"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Groups:</dt> | <dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Groups:</dt> | ||
<dd style="width:90%;padding:.3em .3em .3em 7em;"><div style="display:block;"> | <dd style="width:90%;padding:.3em .3em .3em 7em;"><div style="display:block;"> | ||
Utilities: Eric's Mission Framework | |||
</div></dd> | </div></dd> | ||
</dl> | </dl> | ||
Line 28: | Line 28: | ||
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Syntax:</dt> | <dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Syntax:</dt> | ||
<dd style="width:90%;padding:.3em .3em .3em 7em;"><div style="display:block;"> | <dd style="width:90%;padding:.3em .3em .3em 7em;"><div style="display:block;"> | ||
[amount] call ''' | [amount] call '''emf_utilities_fnc_slotLimit''' | ||
</div></dd> | </div></dd> | ||
Line 50: | Line 50: | ||
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Example 1:</dt> | <dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Example 1:</dt> | ||
<dd style="width:90%;padding:.3em .3em .3em 7em;"><code style="border:#25A1A1 dashed 1px;display:block;"> | <dd style="width:90%;padding:.3em .3em .3em 7em;"><code style="border:#25A1A1 dashed 1px;display:block;"> | ||
[5] call ''' | [5] call '''emf_utilities_fnc_slotLimit'''; | ||
</code></dd> | </code></dd> | ||
Revision as of 14:40, 26 March 2022
Description
- Description:
Limit a slot by player amount.
- Execution:
call
- Groups:
Utilities: Eric's Mission Framework
Syntax
- Syntax:
[amount] call emf_utilities_fnc_slotLimit
- Parameters:
amount: Number - Minimum amount of players before role can be joined.
- Return Value:
Boolean - Returns true on success.
Examples
- Example 1:
[5] call emf_utilities_fnc_slotLimit;
Additional Information
- See also:
Notes