Difference between revisions of "GetPawnIdFromPlayerId"

From Nomad DB
(Created page with "== Syntax == <syntaxhighlight lang="lua"> GetPawnIdFromPlayerId(playerId) </syntaxhighlight> * '''playerId''' (string): Player ID of the target player * '''Returns''' (str...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
Retrieves the [[EntityId|entity ID]] from the specified [[Player ID|player ID]].
 +
 
== Syntax ==
 
== Syntax ==
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
Line 4: Line 6:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
* '''playerId''' (string): [[Player ID]] of the target player
 
* '''playerId''' (string): [[Player ID]] of the target player
* '''Returns''' (string): [[EntityId]] of that player
+
* '''Returns''' (string): [[EntityId|Entity ID]] of the specified player
  
 
== Related Pages ==
 
== Related Pages ==

Latest revision as of 16:58, 15 April 2020

Retrieves the entity ID from the specified player ID.

Syntax

GetPawnIdFromPlayerId(playerId)
  • playerId (string): Player ID of the target player
  • Returns (string): Entity ID of the specified player

Related Pages