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...)
(No difference)

Revision as of 02:47, 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.