Difference between revisions of "CONVERT INT TO PLAYERINDEX"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |noheader=0 |np=1 |np=1 |p1t=integer |p1d=Player ID |r=1 |rt=integer |rd=Player ID for the Player Index }} Returns the Player Index from the Player ID. Use GET_PLAYER_ID to g...)
 
Line 1: Line 1:
 
{{Native
 
{{Native
 
|noheader=0
 
|noheader=0
|np=1
 
 
|np=1
 
|np=1
 
|p1t=integer
 
|p1t=integer

Revision as of 03:15, 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.