[Release] Voice GPS (Spoken GPS Directions) [WITH ROAD NAMES]

Any way to disable this? This is a really nice resource but does clog up chat quite a bit on clientside.

It is not playing sound at allā€¦ anyone having the same issue?

Whoops! That was a debug statement left in while helping someone test the script. Iā€™ve removed it now.

This seems to be an isolated issue. Perhaps myself, @plummeq and you could discuss this further.

The NUI js is awfully familiar (comments + layout) to an unreleased gps resource that did the exact same thing by Blumlaut but then in Lua. Logic also awfully similar.

I donā€™t want to start an argument, itā€™s fine as is.

1 Like

I took the NUI JS from a public PlaySound resource on the FiveM forums.

The logic kinda has to be similar if theyā€™re doing the same thing.

Iā€™d love to see the code that was behind @Blumlautā€™s version to see if thereā€™s anything I can do to improve the code.

1 Like

i can understand @d0p3tā€™s suspicion here, the code does look very familair

https://cdn.discordapp.com/attachments/384810834129584129/480348812498436098/gps.zip
here is the code, in any case, i also recommend looking at my Pull Request on the Natives Repository, i updated the GenerateDirectionsToCoord Documentation there to be (more) accurate

That NUI is reeeally similar. I took it from here [Release] Play Custom Sounds for Interactions (I literally just added the missing MIT license for that HTML file as the MIT license requires.)

Just read through the Lua script and can now 100% understand where @d0p3t was coming from. I still stick by the fact that I havenā€™t ever seen this code before. Now Iā€™m just wondering why you never released it!

Thx for using my german translation. But why my posting is delete? hm whatever, perfekt script

Its maybe possible that we can use a ā€œKeyā€ vor starting? BUT WHEN please let USE CHOOSE like in a extra config.file please!

I have just added this (go to the GitHub releases page to get the latest version) and it is set to F10. I will make a config file soon.

Iā€™m curious as to how Iā€™d get the coords of the next turnā€¦

Perfect! Happy Halloween!

I see thereā€™s been a few updates. Iā€™ll try it again later when Iā€™m home from work. Super keen on this. Iā€™ll let u know if itā€™s working for me later

Great Scripts, put in startup but doesnt work unless I go in and manually stop and start the script Thanks for the awesome work look forward to the development on this

I think thereā€™s an issue with the script needing to be restarted when a player joins. Iā€™ll look into the problem.

EDIT: I committed a patch to a new branch. If someone could test the script (from server launch, not (re)starting the resource) Iā€™d really appreciate it as Iā€™m out at the moment.

1 Like

it was never up to the coding standard that i wanted it, i hoped someone else in the community discord would continue it but not much ever came of it.

1 Like

Do I have to compile the cs into the dll myself to test it? Happy to do it when its in the resource part but I have no idea when it comes down to dll files lol.

You can simply open the solution in Visual Studio and compile it. I think the author has not provided the CitizenFX.Core.dll libraries for the client and server so you will need to get them yourself and add them as a reference (delete the old one indicated by a warning sign in References).

Right click References -> Add Reference -> Browse to the library location

The client side one you can find in your FiveM Application Data (under citizen/clr2/lib or something similar). Server side the same, but this time in a server artifact.

2 Likes

Iā€™ll compile it in about 10-12 hrs time, when I get back home.

1 Like

Thereā€™s a community discord?!?!?