Difference between revisions of "07AF"

From GTAMods Wiki
Jump to navigation Jump to search
(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...)
 
m
Line 7: Line 7:
 
| native      = [[GET_PLAYER_GROUP]]
 
| native      = [[GET_PLAYER_GROUP]]
 
}}
 
}}
This gets the player's group to be used in group-related opcodes. Note that the parameters are swapped.
+
This gets the player's group to be used in [[Special:WhatLinksHere/{{PAGENAMEE}}|group-related]] opcodes. Note that the parameters are swapped.
 
[[Sanny Builder]] example:<source lang="scm">07AF: $PLAYER_GROUP = player $PLAYER_CHAR group</source>
 
[[Sanny Builder]] example:<source lang="scm">07AF: $PLAYER_GROUP = player $PLAYER_CHAR group</source>
  

Revision as of 06:18, 2 January 2009

{{{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