BIS fnc playerName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(34 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= Object Manipulation
____________________________________________________________________________________________


| <pre>/*
|descr= Return current profile's name. Deprecated since {{arma3}}, use [[profileName]] instead.


Description:
|s1= call [[BIS_fnc_playerName]]
Return current profile's name


Parameter(s):
|r1= [[String]] - [[profileName]]
NOTHING


Returns:
|x1= <sqf>private _myPlayerName = call BIS_fnc_playerName;</sqf>
STRING
*/
 
//--- Function is obsolete, it now links directly to the scripting command
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_playerName]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[profileName]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:playerName}}]]
[[Category:Functions|{{uc:playerName}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:playerName}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:playerName}}]]

Latest revision as of 22:44, 12 July 2022

Hover & click on the images for description

Description

Description:
Return current profile's name. Deprecated since Arma 3, use profileName instead.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
call BIS_fnc_playerName
Return Value:
String - profileName

Examples

Example 1:
private _myPlayerName = call BIS_fnc_playerName;

Additional Information

See also:
profileName

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