Jump to content
  • 0

Message only once when a player joins the server


Airwaves Man

Question

5 answers to this question

Recommended Posts

  • 0
2 minutes ago, A Man said:

Thanks for that. I had no idea what kind of variable to use.

Here's somewhat of an example thrown together

_showMOTD = profileNameSpace getVariable ["showMOTD",true];

if (_showMOTD) then { execVM "scripts\motd.sqf"; profileNameSpace setVariable ["showMOTD",false]; saveProfileNameSpace;};

Now to be fair, that will only enable it once, it wont reset on startup, I would think you would need to have the server send the client a publicVariable and the server keep track of it.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...