BIS fnc playerName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(26 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


|gr1 = Object Manipulation |GROUP1=
|gr1= Object Manipulation
____________________________________________________________________________________________


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


| call [[BIS_fnc_playerName]] |SYNTAX=
|s1= call [[BIS_fnc_playerName]]


| [[String]] - [[profileName]] |RETURNVALUE=
|r1= [[String]] - [[profileName]]
____________________________________________________________________________________________


|x1= <code>_myPlayerName = [[call]] [[BIS_fnc_playerName]];</code> |EXAMPLE1=
|x1= <sqf>private _myPlayerName = call BIS_fnc_playerName;</sqf>
____________________________________________________________________________________________


| [[profileName]] |SEEALSO=
|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:Functions|{{uc:playerName}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:playerName}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:playerName}}]]

Latest revision as of 23: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