Author Topic: How to put a custom message when an aadmin join the server ?  (Read 1445 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

  • First Sergeant
  • *
  • Posts: 71
  • 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.

Offline Woeski

  • First Lieutenant
  • *
  • Posts: 234
  • (2Ch) - DDB - Mamluk
    • View Profile
    • 2Ch & BACM regiment
  • Nick: Woeski
  • 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.