Difference between revisions of "08E2"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 08E2=1, %1d% | description = Stores into a variable the percent value of gang territories player's gang owns. | p1 = Any variable | game …')
 
 
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 08E2=1, %1d%
+
| games      = {{Icon|SA}}
| description = Stores into a variable the percent value of gang territories player's gang owns.
+
| command    = GET_TERRITORY_UNDER_CONTROL_PERCENTAGE
| p1          = Any variable
+
| description = Gets the percentage of gang territories under control
| game        = [[San Andreas]]
+
| syntax1    = 08E2: [''var''] = territories_controlled_percentage
 +
| p1t        = [''var'']
 +
| p1d        = Variable to store the percentage
 
}}
 
}}
  
This opcode stores into a variable the percent value of gang territories player's gang owns.
+
This opcode gets the percentage of gang territories under control.
  
==Sanny Builder Example==
+
== Keywords ==
 
+
get, store, percent, percentage, gang, territory, territories, own, under, control
<source lang="scm">08E2: $GS_GANG_TURF_CONTROLLED = territories_controlled_percentage </source>
 
 
 
==Keywords==
 
gang territories
 

Latest revision as of 17:00, 28 January 2016

San Andreas GET_TERRITORY_UNDER_CONTROL_PERCENTAGE


Description
Gets the percentage of gang territories under control
Syntax
08E2: [var] = territories_controlled_percentage
Parameter
[var]
Variable to store the percentage

This opcode gets the percentage of gang territories under control.

Keywords

get, store, percent, percentage, gang, territory, territories, own, under, control