07AF

From GTAMods Wiki
Revision as of 00:12, 30 December 2008 by Spaceeinstein (talk | contribs) (New page: {{OpCode | ini = 07AF=2,%2d% %1d% | description = Gets the player's group | p1 = Player handle | p2 = Variable to store the group handle | game = San Andre...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{games}}}


Description
Gets the player's group
Syntax
{{{syntax1}}}
Parameter
Native analog
GET_PLAYER_GROUP

This gets the player's group to be used in group-related opcodes. Note that the parameters are swapped.

Sanny Builder example:

07AF: $PLAYER_GROUP = player $PLAYER_CHAR group

Note

The above format is more commonly used. The actual format of this opcode is in order:
07AF=2,%1d% %2d%
The format to use depends on which INI file you use.

Keywords

get, player, group