[GS] send message from server to client

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
marhex
Engineer
Engineer
Posts: 8
Joined: 09 Jul 2015 10:44

[GS] send message from server to client

Post by marhex »

i need help please
how to send message from server to client
what i need to do is when client send message !test the server respend with hello.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [GS] send message from server to client

Post by planetmaker »

Maybe you're more looking for an admin script as e.g. implemented by soap: http://dev.openttdcoop.org/projects/soap/ ?
marhex
Engineer
Engineer
Posts: 8
Joined: 09 Jul 2015 10:44

Re: [GS] send message from server to client

Post by marhex »

planetmaker wrote:Maybe you're more looking for an admin script as e.g. implemented by soap: http://dev.openttdcoop.org/projects/soap/ ?
how to use it to do what i want
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: [GS] send message from server to client

Post by Zuu »

GS cannot read chat messages, only signs and names of vehicles, stations etc. It can display a blue text message window with up to three buttons or use the story book for longer texts.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 39 guests