Forum Discussion

7 Replies

  • It looks like the data context is right. Make sure you have the horizon/social API toggles on in the API section of the Script Settings. On line 37 you are setting player to the server player not a real player. Try this.entity.owner.get()

  • All API are on and 

     /**

       * Handles the actual logic to open the invite panel.

       */

      private openInvitePanel() {

        const player = this.entity.owner.get();

    sill doesn't work

  • Try it in preview mode. I don't believe that panel works in the editor.

  • This could be a bug. I was unable to open it the other day. Make a bug report.