SOZ-FiveM-Server icon indicating copy to clipboard operation
SOZ-FiveM-Server copied to clipboard

[Phone] Send a message without contact

Open Mcfloy opened this issue 1 year ago • 2 comments

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.

Mcfloy avatar May 03 '23 13:05 Mcfloy

Actualy I have a solution for this with this display : image

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)

Vaillp avatar Jun 05 '23 23:06 Vaillp

Accepted. You have the liberty of developing this, thank you. <3 Please use this type of display.

image

NariieL avatar Aug 30 '23 11:08 NariieL