Jump to content

Creating a script to say something as admin?


Scenic

Recommended Posts

I was wondering if there is a variable like _say that would make the server say something in the red adminchat...

 

I want this so I can setup a .sqf that I could execute from my admin tools and it would make certain announcements for me?

 

Anyone know anything that could work?

Link to comment
Share on other sites

you can do something like this...

http://forums.bistudio.com/showthread.php?109638-Display-Text-to-ALL-in-MP

 

But as far as the Red message goes, that is a part of Battleye Rcon.  You can use the C# api and write a program to send your messages and set it up on a windows scheduler.  This is what I do for server restart warnings.

Link to comment
Share on other sites

you can do something like this...

http://forums.bistudio.com/showthread.php?109638-Display-Text-to-ALL-in-MP

But as far as the Red message goes, that is a part of Battleye Rcon. You can use the C# api and write a program to send your messages and set it up on a windows scheduler. This is what I do for server restart warnings.

Likewise, I used https://github.com/ziellos2k/BattleNET

Did make a small change to the code as i found, with repeated calls, the messages stopped as the 'admin' wasn't logging out.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...