Difference between revisions of "GetLocalPlayerId"

From Nomad DB
(Created page with "Returns the Player ID of the local player. This is usually <code>1</code>. == Syntax == <pre> GetLocalPlayerId() </pre> == Related Pages == * GetLocalPlayerEntityId...")
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Returns the [[Player ID]] of the local player. This is usually <code>1</code>.
+
Returns the [[Player ID|player ID]] of the local player. This is usually <code>0</code>.
  
 
== Syntax ==
 
== Syntax ==
Line 5: Line 5:
 
GetLocalPlayerId()
 
GetLocalPlayerId()
 
</pre>
 
</pre>
 +
 +
* '''Returns''' (number): [[Player ID]]
  
 
== Related Pages ==
 
== Related Pages ==

Latest revision as of 17:02, 15 April 2020

Returns the player ID of the local player. This is usually 0.

Syntax

GetLocalPlayerId()

Related Pages