Author Topic: How to put a custom message when an aadmin join the server ?  (Read 140 times)

0 Members and 1 Guest are viewing this topic.

Offline JMPD_Gandalf

  • Volunteer
  • *
  • Posts: 1
    • View Profile
How to put a custom message when an aadmin join the server ?
« on: January 27, 2019, 07:11:14 pm »
How to put a custom message when an aadmin join the server ?
« Last Edit: January 28, 2019, 10:18:39 am by JMPD_Gandalf »

Offline pete99

  • Sergeant
  • *
  • Posts: 66
  • Gang Warily
    • View Profile
  • Nick: Drummond
  • Side: Confederacy
Re: How to put a custom message when an aadmin join the server ?
« Reply #1 on: January 28, 2019, 11:31:38 am »
The way I would do it, you create a trigger in mission templates file when a player joins the server. Check that he is an admin (player_is_admin) operation. Then broadcast the message (string) to the other players in the server. This would require module system and basic knowledge of it, so best to start there. If you don’t know anything or little about it maybe I or someone else could write out the code for you, but I definitely recommend getting into learning it.

Online Woeski The Husky

  • Second Lieutenant
  • *
  • Posts: 107
  • IR_Nr41
    • View Profile
    • IR Nr41 clan thread
  • Nick: Graaf_Gérard_Leman
  • Side: Neutral
Re: How to put a custom message when an aadmin join the server ?
« Reply #2 on: January 28, 2019, 05:41:19 pm »
Sadly it lacks tutorials. Especially for Napoleonic Wars multiplayer.