Difference between revisions of "GET PLAYER GROUP"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |np=2 |p1t=integer |p1d=player index |p2t=integer |p2d=variable to store number group pointer }} This function returns the pointer for the group the player is in.)
 
m
 
Line 2: Line 2:
 
|np=2
 
|np=2
 
|p1t=integer
 
|p1t=integer
|p1d=player index
+
|p1d=player [[CONVERT_INT_TO_PLAYERINDEX|index]]
 
|p2t=integer
 
|p2t=integer
 
|p2d=variable to store number group pointer
 
|p2d=variable to store number group pointer

Latest revision as of 10:48, 4 April 2009

GET_PLAYER_GROUP
Number of parameters: 2
Parameter #TypeDescription
1.integerplayer index
2.integervariable to store number group pointer
Return value:
TypeDescription
None

This function returns the pointer for the group the player is in.