Solved Make broadcast Message

Discussion in 'Development' started by Matrox, Jan 8, 2019.

  1. Matrox

    Matrox Spider Jockey

    Messages:
    37
    How to make the action happen and everyone in the chat sees it ??
     
  2. corytortoise

    corytortoise Skeleton

    Messages:
    833
    GitHub:
    corytortoise
    I don't know what action you mean, but you can use Server->broadcastMessage() to send a message to everyone.
    PHP:
     $this->getServer()->broadcastMessage("This is an example message"); 
     
  3. Matrox

    Matrox Spider Jockey

    Messages:
    37
    Works good :)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.