Returns Promise<-2 | 0 | 1>
A promise that resolves to:
-2
if an error occurs,
0
if the user cancels the form,
1
if the form is successfully submitted.
The function performs the following steps:
- Checks if ultra security mode is enabled and if the player has the necessary permissions to access the settings.
- Displays a modal form with various personal settings fields.
- Handles the form submission, updating the player's dynamic properties based on the form values.
- Returns the appropriate status code based on the outcome.
Displays and handles the personal settings form for a player.