Difference between revisions of "0252"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|3}} '''RESTORE_WEATHER''' <hr /> '''Description''' : Restores the weather '''Syntax''' : 0252: restore_weather '''Parameter''' : [''none''] This opcode restores th...")
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Icon|3}} '''RESTORE_WEATHER'''
+
{{OpCode
<hr />
+
| games      = {{Icon|3}}
'''Description'''
+
| command    = RESTORE_WEATHER
: Restores the [[weather]]
+
| description = Restores the [[weather]]
'''Syntax'''
+
| syntax1    = 0252: restore_weather
: 0252: restore_weather
+
| p1t        = ''none''
'''Parameter'''
+
}}
: [''none'']
 
  
This opcode restores the weather previously saved with [[0251]]. There is a potential issue there: saved values are not reset if a new game started or a [[Saves (GTA 3)|save game]] is loaded, so the weather can be restored with the values made in another game. This opcode was never called in the original script of GTA III.
+
This opcode restores the weather previously saved with [[0251]]. If the weather has never been stored before, all values affected by this opcode are set to 0. Saved values are not reset if a new game is started or a [[Saves (GTA 3)|save game]] is loaded, so values can be restored with values stored in another game session. This opcode was never called in the original script of GTA III.
  
 
== Keywords ==
 
== Keywords ==
 
restore, weather
 
restore, weather
 
[[Category:OpCodes]]
 

Latest revision as of 13:17, 13 December 2016

GTA III RESTORE_WEATHER


Description
Restores the weather
Syntax
0252: restore_weather
Parameter
none

This opcode restores the weather previously saved with 0251. If the weather has never been stored before, all values affected by this opcode are set to 0. Saved values are not reset if a new game is started or a save game is loaded, so values can be restored with values stored in another game session. This opcode was never called in the original script of GTA III.

Keywords

restore, weather