Difference between revisions of "06D7"

From GTAMods Wiki
Jump to navigation Jump to search
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<code>06D7=1,%1h%</code><br>
+
{{OpCode
'''Description''': Sets train traffic<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': Flag<br>
+
| command    = SWITCH_RANDOM_TRAINS
'''Supports''': San Andreas<br>
+
| description = Switches [[train]] traffic
 +
| syntax1    = 06D7: enable_train_traffic [''int'']
 +
| p1t        = [''int'']
 +
| p1d        = 0 = off, {{hint|1|or any value other than 0}} = on
 +
| native      = [[SWITCH_RANDOM_TRAINS]]
 +
}}
  
This opcode can set all train traffic.
+
This opcode can be used to disable train traffic.
  
==Flags==
+
== Keywords ==
'''Flag 0''': Disables train traffic<br>
+
set, toggle, enable, train, traffic
'''Flag 1''': Enables train traffic
 
 
 
==Keywords==
 
set, toggle, train, traffic
 
 
 
[[Category:OpCodes]]
 

Latest revision as of 09:13, 2 September 2017

San Andreas SWITCH_RANDOM_TRAINS


Description
Switches train traffic
Syntax
06D7: enable_train_traffic [int]
Parameter
[int]
0 = off, 1 = on
Native analog
SWITCH_RANDOM_TRAINS

This opcode can be used to disable train traffic.

Keywords

set, toggle, enable, train, traffic