Displays a modal form to the player for evaluating and running a script.
The entity that initiated the script evaluation. It can be an instance of Entity, executeCommandPlayerW, or Player.
Entity
executeCommandPlayerW
Player
A promise that resolves to 0 if the previous menu should not be re-opened, or 1 if the previous menu should be re-opened.
0
1
If the provided sourceEntitya is not an instance of Player or executeCommandPlayerW with a linked Player.
sourceEntitya
Displays a modal form to the player for evaluating and running a script.