cokacola Posted November 8, 2009 Posted November 8, 2009 Hello, I am making a web based admin page for my MTA server, and have some basic stuff, but I would like to know the best method to retrieve the current chat messages and send them to the web page, so that the admin can chat with players on the server. What would be the best way to accomplish this? thank you Also known as Bizzycola. In fact, if I could change my nick to that I would.
Gamesnert Posted November 8, 2009 Posted November 8, 2009 Something like this? Web panel - Multi Theft Auto Community Projects: Slothbot | Maximap
robhol Posted November 8, 2009 Posted November 8, 2009 You can't really "retrieve" chat messages if you haven't been logging them, but that's easy to do. Hook up an onPlayerChat event handler and store the messages somewhere. Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now