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