BIS fnc playerName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| tkoh |= Game name
|game1= tkoh
|version1= 1.00


|1.00|= Game version
|game2= arma3
____________________________________________________________________________________________
|version2= 0.50


| Return current profile's name. Deprecated since {{arma3}}, use [[profileName]] instead. |DESCRIPTION=
|gr1= Object Manipulation
____________________________________________________________________________________________


| call [[BIS_fnc_playerName]] |SYNTAX=
|descr= Return current profile's name. Deprecated since {{arma3}}, use [[profileName]] instead.


| [[String]] - [[profileName]] |RETURNVALUE=
|s1= call [[BIS_fnc_playerName]]
____________________________________________________________________________________________


|x1= <code>_myPlayerName = [[call]] [[BIS_fnc_playerName]];</code> |EXAMPLE1=
|r1= [[String]] - [[profileName]]
____________________________________________________________________________________________


| [[profileName]] |SEEALSO=
|x1= <sqf>private _myPlayerName = call BIS_fnc_playerName;</sqf>
 
|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