SOZ-FiveM-Server
SOZ-FiveM-Server copied to clipboard
[Phone] Send a message without contact
Is there an existing issue for this?
- [X] I have searched the existing issues
In which category does your improvement fall?
Phone
Explain the current situation that you do not think is right.
We can't send a message without saving the contact before, which is not ergonomic.
How is the improvement you propose?
On the phone's numpad, add a button next to the green phone to send a message, if the phone number does not exist just create a contact with the phone number as the name before displaying the page.
Actualy I have a solution for this with this display :
If it's good for you I can try to push my file "...\SOZ-FiveM-Server\resources[soz]\soz-phone\src\nui\apps\dialer\pages\DialerKeyboard.tsx" here.
With this, no need to create a new contact. It just use the same fonction to send a message than the society-messages app.
The number must be 8 characters long. (like the call button)
And it must be a valid number on the server. (inherited from the "navigate(/messages/new/${phoneNumber}
)" function)
Accepted. You have the liberty of developing this, thank you. <3 Please use this type of display.