Jump to content

retriving chat messages


cokacola

Recommended Posts

Posted

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 :)

Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...