BIS fnc playerName: Difference between revisions

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


| tkoh
|game1= tkoh
|version1= 1.00


|1.00
|game2= arma3
|version2= 0.50


|gr1 = Object Manipulation
|gr1= Object Manipulation


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


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


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


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


| [[profileName]]
|seealso= [[profileName]]
}}
}}
[[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