Forum Discussion
7 Replies
- gausrothMHCP Mentor
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()
- EktelestisMHCP Member
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
- gausrothMHCP Mentor
Try it in preview mode. I don't believe that panel works in the editor.
- EktelestisMHCP Member
Did that, I open it up to the web browser
- gausrothMHCP Mentor
This could be a bug. I was unable to open it the other day. Make a bug report.
- EktelestisMHCP Member
Ok, but I have the script set to shared
- gausrothMHCP Mentor
Try it as a default(server) script or local script?