Difference between revisions of "CONVERT INT TO PLAYERINDEX"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
 
{{Native
 
{{Native
|noheader=0
 
 
|np=1
 
|np=1
 
|p1t=integer
 
|p1t=integer
Line 10: Line 9:
  
 
Returns the Player Index from the Player ID. Use [[GET_PLAYER_ID]] to get the current player's ID.
 
Returns the Player Index from the Player ID. Use [[GET_PLAYER_ID]] to get the current player's ID.
 
[[Category:Native functions]]
 

Latest revision as of 11:28, 27 December 2008

CONVERT_INT_TO_PLAYERINDEX
Number of parameters: 1
Parameter #TypeDescription
1.integerPlayer ID
Return value:
TypeDescription
integerPlayer ID for the Player Index

Returns the Player Index from the Player ID. Use GET_PLAYER_ID to get the current player's ID.