BIS fnc playerName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|+$" to "")
m (Text replacement - " |r1=[[" to " |r1= [[")
(One intermediate revision by the same user not shown)
Line 11: Line 11:
|descr= Return current profile's name. Deprecated since {{arma3}}, use [[profileName]] instead.
|descr= Return current profile's name. Deprecated since {{arma3}}, use [[profileName]] instead.


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


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


|x1= <code>_myPlayerName = [[call]] [[BIS_fnc_playerName]];</code>
|x1= <code>_myPlayerName = [[call]] [[BIS_fnc_playerName]];</code>

Revision as of 23:24, 7 August 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