Difference between revisions of "BIS fnc playerName"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
+
{{Function
  
| tkoh |Game name=
+
| tkoh
  
|1.00|Game version=
+
|1.00
  
|gr1 = Object Manipulation |GROUP1=
+
|gr1 = Object Manipulation
  
| Return current profile's name. Deprecated since {{arma3}}, use [[profileName]] instead. |DESCRIPTION=
+
| Return current profile's name. Deprecated since {{arma3}}, use [[profileName]] instead.
  
| call [[BIS_fnc_playerName]] |SYNTAX=
+
| call [[BIS_fnc_playerName]]
  
| [[String]] - [[profileName]] |RETURNVALUE=
+
| [[String]] - [[profileName]]
  
|x1= <code>_myPlayerName = [[call]] [[BIS_fnc_playerName]];</code> |EXAMPLE1=
+
|x1= <code>_myPlayerName = [[call]] [[BIS_fnc_playerName]];</code>
  
| [[profileName]] |SEEALSO=
+
| [[profileName]]
 
}}
 
}}
  

Revision as of 23:39, 17 January 2021

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:
_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

Bottom Section