GET GROUP SIZE

From GTAMods Wiki
Jump to navigation Jump to search
GET_GROUP_SIZE
Number of parameters: 3
Parameter #TypeDescription
1.integergroup pointer
2.integervariable to store number of player-controlled chars in group(?)
3.integervariable to store number of non-player-controlled chars in group
Return value:
TypeDescription
None

This function returns the number of player-controlled and non-player-controlled chars in the specified group. Use GET_PLAYER_GROUP to retrieve the pointer for the current player's group.