getPlayerID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Article creation)
 
mNo edit summary
Line 5: Line 5:
|version= 2.01 |Game version=
|version= 2.01 |Game version=


|gr1= GUI Control |GROUP1=
|gr1= Markers |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[[getPlayerID]] player;</code> |Example 1=
|x1= <code>[[getPlayerID]] [[player]];</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:53, 2 October 2020

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version |?]]
Hover & click on the images for description

Description

Description:
Returns player ID for marker creation.
Groups:
Markers

Syntax

Syntax:
getPlayerID unit
Parameters:
unit: Object
Return Value:
String

Examples

Example 1:
getPlayerID player;

Additional Information

See also:
createMarker createMarkerLocal

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

[[Category:Introduced with arma3dev version ]][[ Category: arma3dev: New Scripting Commands | GETPLAYERID]][[ Category: arma3dev: Scripting Commands | GETPLAYERID]]

Bottom Section