mirror of https://github.com/OpenTTD/OpenTTD
12 lines
296 B
Plaintext
12 lines
296 B
Plaintext
Scripting
|
|
---------
|
|
|
|
OpenTTD supports scripts.
|
|
|
|
- 'on_client.scr' is runned when you join a server as client
|
|
- 'on_server.scr' is runned when you start a server
|
|
- 'on_dedicated.scr' is runned when you start a dedicated server
|
|
|
|
For examples how a script can look, check the .example examples.
|
|
|