BerkieBb / pma-sirensync

The best siren sync resource to utilise in FiveM
MIT License
58 stars 21 forks source link

In the shared/shared.ts file there's no way to change the controls #6

Closed Esterze closed 1 year ago

Esterze commented 1 year ago

Hi, I would like to control the sirens by using E to enable them and Q to cycle through all the variants, How am I supposed to change the controls then? Do I really have to study how to build a resource myself? Can't you add a control config yourself, please?

BerkieBb commented 1 year ago

Any change to the shared.ts also requires yoi tk build the resource and you don't have to 'study' how to build the resource, I wrote how to do it step by step in the readme.

Esterze commented 1 year ago

I didn't really have the time to check the whole readme. I hope it's easier than I think.

On Tue, 18 Oct 2022, 18:30 BerkieBb, @.***> wrote:

Any change to the shared.ts also requires yoi tk build the resource and you don't have to 'study' how to build the resource, I wrote how to do it step by step in the readme.

— Reply to this email directly, view it on GitHub https://github.com/BerkieBb/pma-sirensync/issues/6#issuecomment-1282669918, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXHAGWRGZGTEC5BJGSENZVLWD3GATANCNFSM6AAAAAARIIQHHA . You are receiving this because you authored the thread.Message ID: @.***>

Esterze commented 1 year ago

I modified the controls in all of the files that the resource has, but when holding the key E the horn is not working.

BerkieBb commented 1 year ago

That's because it disables the default horn for emergency vehicles

BerkieBb commented 1 year ago

It's replaced with keymapping to the button E to play another sound

Esterze commented 1 year ago

The horn isn't working for normal vehicles, though.

BerkieBb commented 1 year ago

I patched that in the latest release or the one before

Esterze commented 1 year ago

Oh, okay, I'll download the new release, then.

Esterze commented 1 year ago

Also, thanks for your quick replies.