EggRP / fxcommands

Streamdeck Plugin for FiveM commands
MIT License
30 stars 6 forks source link

Enable more characters in commands for other languages. #16

Closed rubenciito7 closed 1 year ago

rubenciito7 commented 1 year ago

Hello! When using the streamdeck plugin for fivem and placing, for example, a command (/me) with tildes typical of other languages (á)​​such as Spanish, or the character "ñ" and even the question mark (¿) do not work when placing them. Could something be done to include them? Thanks in advance.

rubenciito7 commented 1 year ago

I have two commands written in this case with these characters and as you can see, they don't work.

[COMMANDS]

me Le coloca el dedo índice y el dedo medio sobre el cuello bajo el ángulo del mentón y aplica presión muy ligeramente en busca de pulso carotídeo.

do ¿Tendría pulso? ¿Cómo sería este?

[IMAGE]

https://imgur.com/qC68xD9.png

josh-tf commented 1 year ago

Do these work if you do the command in console manually?

rubenciito7 commented 1 year ago

Do these work if you do the command in console manually?

Yes. If I put them manually in the game console it works fine. I attach an image.

[IMAGE]

https://imgur.com/uoImKEc.png

rubenciito7 commented 1 year ago

The thing is, that the characters that it does not identify are replaced by "?"

As are the tildes, the word "ñ" and also the question mark backwards "¿"

rubenciito7 commented 1 year ago

Hello again! Can you tell me if this only happens to me or is it something that happens to everyone with these characters and letters?

josh-tf commented 1 year ago

Hi, I haven't had a chance to test or look in to it yet but I assume it would affect everyone - it may be a limitation of the protocol, fivem or may be a simple change required in the plugin

rubenciito7 commented 1 year ago

Hi, I haven't had a chance to test or look in to it yet but I assume it would affect everyone - it may be a limitation of the protocol, fivem or may be a simple change required in the plugin

Okeyy. That change in the plugin should be done by me? If so, I don't know how to do it.

josh-tf commented 1 year ago

Hello, this is supported in the latest update:

https://github.com/EggRP/fxcommands/commit/1743f0630b6ff8f855379e138eb6583423d2907c

image

You can download the latest release from the releases page, I will have it updated in the Streamdeck plugins store shortly:

https://github.com/EggRP/fxcommands/releases/tag/v1.1.0

rubenciito7 commented 1 year ago

Hello, this is supported in the latest update:

1743f06

image

You can download the latest release from the releases page, I will have it updated in the Streamdeck plugins store shortly:

https://github.com/EggRP/fxcommands/releases/tag/v1.1.0

It works perfectly. Thank you very much for updating it, fixing it and everything!! <3

josh-tf commented 1 year ago

Awesome, you're welcome! I will close this - if you have any new ones come up please open a new issue