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...") |
|||
Line 16: | Line 16: | ||
* [[OnAddVehicle]](hash) | * [[OnAddVehicle]](hash) | ||
* [[OnRmvVehicle]]() | * [[OnRmvVehicle]]() | ||
+ | |||
+ | [[Category:Modding]] | ||
+ | [[Category:Scripts]] | ||
+ | [[Category:Modding]] | ||
+ | [[Category:Script callbacks]] |
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()