Difference between revisions of "059A"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|VC}} {{Icon|SA}} '''IS_AUSTRALIAN_GAME''' <hr /> '''Description''' : Checks if the game is Australian '''Syntax''' : 059A:   australian_game '''Parameter''' : [''n...")
 
m
 
Line 1: Line 1:
{{Icon|VC}} {{Icon|SA}} '''IS_AUSTRALIAN_GAME'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}} {{Icon|SA}}
'''Description'''
+
| command    = IS_AUSTRALIAN_GAME
: Checks if the game is Australian
+
| description = Checks if the game is Australian
'''Syntax'''
+
| syntax1    = 059A: &nbsp; australian_game
: 059A: &nbsp; australian_game
+
| p1t        = ''none''
'''Parameter'''
+
}}
: [''none'']
 
  
 
This conditional opcode always returns true as the result for the Australian version of the game. Otherwise, it always returns false. The return result is hardcoded into the game. Most mods generally support non-Australian versions of the games so this opcode can generally be used to return false when returning from a [[0050|gosub]] or an [[0AB1|SCM function]].
 
This conditional opcode always returns true as the result for the Australian version of the game. Otherwise, it always returns false. The return result is hardcoded into the game. Most mods generally support non-Australian versions of the games so this opcode can generally be used to return false when returning from a [[0050|gosub]] or an [[0AB1|SCM function]].
Line 12: Line 11:
 
== Keywords ==
 
== Keywords ==
 
Australia, Australian, game, return, false
 
Australia, Australian, game, return, false
 
[[Category:OpCodes]]
 

Latest revision as of 07:15, 7 November 2016

Vice City San Andreas IS_AUSTRALIAN_GAME


Description
Checks if the game is Australian
Syntax
059A:   australian_game
Parameter
none

This conditional opcode always returns true as the result for the Australian version of the game. Otherwise, it always returns false. The return result is hardcoded into the game. Most mods generally support non-Australian versions of the games so this opcode can generally be used to return false when returning from a gosub or an SCM function.

Keywords

Australia, Australian, game, return, false