mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 07:29:44 +00:00
- set server_pw "password" - set server_name "servername" - set company_pw "password" - set name "playername" (patch by sign_de)
12 lines
334 B
Plaintext
12 lines
334 B
Plaintext
Scripting
|
|
---------
|
|
|
|
OpenTTD supports scripts.
|
|
|
|
- 'on_client.scr' is executed when you join a server as client
|
|
- 'on_server.scr' is executed when you start a server / dedicated server
|
|
- 'on_dedicated.scr' is additionally executed when you start a dedicated server
|
|
|
|
For examples how a script can look, check the .example examples.
|
|
|