Difference between revisions of "Script callbacks"
From Mashinky
(Created page with "<strong>Callback list</strong> == Callbacks == * OnStart() * OnLoad() * OnTick() * OnButton(tag) * OnConstruct() * OnCamera() * OnGameDay() * O...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 16: | Line 16: | ||
* [[OnAddVehicle]](hash) | * [[OnAddVehicle]](hash) | ||
* [[OnRmvVehicle]]() | * [[OnRmvVehicle]]() | ||
+ | |||
+ | [[Category:Modding]] | ||
+ | [[Category:Scripts]] | ||
+ | [[Category:Script callbacks]] |
Latest revision as of 09:06, 23 October 2017
Callback list
Callbacks
- OnStart()
- OnLoad()
- OnTick()
- OnButton(tag)
- OnConstruct()
- OnCamera()
- OnGameDay()
- OnGameMonth()
- OnGameYear()
- OnCargoLoad(train, stop, cargo, amount)
- OnCargoUnload(train, stop, cargo, amount)
- OnAddVehicle(hash)
- OnRmvVehicle()