BIS fnc logFormatServer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 16: | Line 16: | ||
|p2= argument1..n: [[Anything]] - same as [[format]] arguments - referenced in ''text'' as %1, %2 etc | |p2= argument1..n: [[Anything]] - same as [[format]] arguments - referenced in ''text'' as %1, %2 etc | ||
| [[Boolean]] - [[true]] when done | |r1=[[Boolean]] - [[true]] when done | ||
|x1= <code>[[private]] _currentFPS = [[diag_fps]]; | |x1= <code>[[private]] _currentFPS = [[diag_fps]]; |
Revision as of 20:26, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- Syntax needed
- Parameters:
- text: String or Anything - text using format standard (with %). Any non-String value will be converted (with str)
- argument1..n: Anything - same as format arguments - referenced in text as %1, %2 etc
- Return Value:
- Boolean - true when done
Examples
- Example 1:
private _currentFPS = diag_fps; if (_currentFPS < 10) then { ["Player %1 has performance issues (%2 FPS)", name player, _currentFPS] call BIS_fnc_logFormatServer; };
Additional Information
- See also:
- diag_log BIS_fnc_log BIS_fnc_logFormat
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note