Difference between revisions of "06D7"

From GTAMods Wiki
Jump to navigation Jump to search
(new template)
m
 
Line 1: Line 1:
{{Icon|SA}} '''SWITCH_RANDOM_TRAINS'''
+
{{OpCode
<hr />
+
| games      = {{Icon|SA}}
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
+
| command    = SWITCH_RANDOM_TRAINS
'''Description'''
+
| description = Switches [[train]] traffic
: Enables [[train]] traffic
+
| syntax1    = 06D7: enable_train_traffic [''int'']
'''Syntax'''
+
| p1t        = [''int'']
: 06D7: enable_train_traffic [''int'']
+
| p1d        = 0 = off, {{hint|1|or any value other than 0}} = on
'''Parameter'''
+
| native      = [[SWITCH_RANDOM_TRAINS]]
: [''int'']
+
}}
:: 0 = off, {{hint|1|or any value other than 0}} = on
 
'''Native analog'''
 
: [[SWITCH_RANDOM_TRAINS]]
 
  
This opcode either enable or disable train traffic.
+
This opcode can be used to disable train traffic.
}}</onlyinclude>
 
  
 
== Keywords ==
 
== Keywords ==
 
set, toggle, enable, train, traffic
 
set, toggle, enable, 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