Difference between revisions of "GET PLAYER ID"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |noheader=0 |np=0 |r=1 |rt=integer |rd=Current Player's ID }} Returns the Current Player's ID. The Player ID is meaningless for other script functions and should be converted to ...)
 
m
 
Line 1: Line 1:
 
{{Native
 
{{Native
|noheader=0
 
 
|np=0
 
|np=0
 
|r=1
 
|r=1
Line 8: Line 7:
  
 
Returns the Current Player's ID. The Player ID is meaningless for other script functions and should be converted to a Player Index before its used by calling [[CONVERT_INT_TO_PLAYERINDEX]].
 
Returns the Current Player's ID. The Player ID is meaningless for other script functions and should be converted to a Player Index before its used by calling [[CONVERT_INT_TO_PLAYERINDEX]].
 
[[Category:Native functions]]
 

Latest revision as of 11:25, 27 December 2008

GET_PLAYER_ID
Number of parameters: 0
Return value:
TypeDescription
integerCurrent Player's ID

Returns the Current Player's ID. The Player ID is meaningless for other script functions and should be converted to a Player Index before its used by calling CONVERT_INT_TO_PLAYERINDEX.