Difference between revisions of "getPlayerUID"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added warning about false negatives)
m (template:command argument fix)
Line 18: Line 18:
 
| '''getPlayerUID''' unit |= Syntax
 
| '''getPlayerUID''' unit |= Syntax
  
|p1= unit: [[Object]] |= PARAMETER1
+
|p1= unit: [[Object]] |PARAMETER1=  
  
|p2= |= PARAMETER2
+
|p2= |PARAMETER2=  
  
|p3= |= PARAMETER3
+
|p3= |PARAMETER3=  
  
 
| [[String]] ("_SP_AI_", "_SP_PLAYER_" in SP, "" or UID number string in MP)
 
| [[String]] ("_SP_AI_", "_SP_PLAYER_" in SP, "" or UID number string in MP)
|= RETURNVALUE
+
|RETURNVALUE=  
  
 
|x1= <code>_uid <nowiki>=</nowiki> '''getPlayerUID''' [[player]];</code> |= Example 1
 
|x1= <code>_uid <nowiki>=</nowiki> '''getPlayerUID''' [[player]];</code> |= Example 1
Line 31: Line 31:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[getPlayerUIDOld]], [[getClientState]], [[getClientStateNumber]] |= SEEALSO
+
| [[getPlayerUIDOld]], [[getClientState]], [[getClientStateNumber]] |SEEALSO=  
  
|mp=  |= MPBEHAVIOUR
+
|mp=  |MPBEHAVIOUR=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}

Revision as of 10:31, 7 April 2019

Template:Command

Notes

Posted on April 17, 2014 - 22:29
Master85 (talk)
In Arma 3 the returned string is the steamID64 of the player. _steamProfileUrl = "http://steamcommunity.com/profiles/" + (getPlayerUID player);

Bottom Section