coalaura / opfw-admin

💻 A web interface to help with administrative duties at the FiveM server: Legacy Roleplay. Currently compatible with the OP-FW framework.
https://legacy-roleplay.com
MIT License
15 stars 2 forks source link

Tattoo Removal #20

Closed antonettedorado98 closed 5 months ago

antonettedorado98 commented 5 months ago

Which clusters panel is this on? c3

Describe the bug Tattoo Removals not working. Panel would say that the tattoo has been successfully removed, but the character doesnt change in game.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Character Page'
  2. Click on 'Tattoo Removal'
  3. Scroll down to 'any option'
  4. See 'success message'
  5. In server, character doesnt change.

Expected behavior Character to change and rid of specific tattoo.

coalaura commented 5 months ago

The panel will remove the tattoos via the database. However, tattoos wont refresh ingame if they are only changed in the database, so the panel also attempts to tell the FiveM server to reload the characters tattoos.

yes

If the ingame refresh was successful you will see this message. If this message is not there, the panel failed to communicate with the server (i cant fix this). If the ingame refresh is unsuccessful, softnapping (unloading and loading back in) will also refresh the tattoos.