Difference between revisions of "04FA"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 04FA=1, %1h% | description = Resets the colour of the specified interior to default. | p1 = Integer | game = Vice City, [[San Andrea…')
 
(page rewrite)
 
Line 1: Line 1:
{{OpCode
+
{{Icon|VC}} {{Icon|SA}} '''CLEAR_EXTRA_COLOURS'''
| ini        = 04FA=1, %1h%
+
<hr />
| description = Resets the colour of the specified interior to default.
+
'''Description'''
| p1          = Integer
+
: Clears the extra color of the sky
| game        = [[Vice City]], [[San Andreas]]
+
'''Syntax'''
}}
+
: 04FA: reset_sky_colors_with_fade [''int'']
 +
'''Parameter'''
 +
: [''int'']
 +
:: 0 = instant change, 1 = fading change
  
This opcode resets the colour of the specified interior to default.
+
This opcode clears the extra color of the sky set by opcode [[04F9]]. The parameter value determines should the sky instantly change to the default sky or slowly fade to the default sky.
  
==Sanny Builder Example==
+
== Keywords ==
<source lang="scm">04FA: reset_interior 0 colors</source>
+
clear, reset, weather, sky, extra, color, colour, interior, interiour
  
==Keywords==
+
[[Category:OpCodes]]
interior, reset, color
 

Latest revision as of 04:14, 16 July 2015

Vice City San Andreas CLEAR_EXTRA_COLOURS


Description

Clears the extra color of the sky

Syntax

04FA: reset_sky_colors_with_fade [int]

Parameter

[int]
0 = instant change, 1 = fading change

This opcode clears the extra color of the sky set by opcode 04F9. The parameter value determines should the sky instantly change to the default sky or slowly fade to the default sky.

Keywords

clear, reset, weather, sky, extra, color, colour, interior, interiour