[HELP] GamePad Key Binding

Hello, Anyone knows a script or how to config keybind to the gamepad controller. for example to bind second siren with the pad up.

Hi,

You can do elseif IsControlJustReleased(0, 172) and not IsInputDisabled(0) then after calling the key for the keyboard.

This will set it for UP on the D-Pad

Thank you for that respone. But my biggest problem is I cant find were to put that code, Any idea or example where I can put it. I have a empty server for example where will I put it to bind the secondary siren on a cop car?

Hi,

You could install a mod like release-enhanced-siren-controls-v1-2
then edit the IsControlJust with the new key inputs you would like for keyboard
then add elseif IsControlJustReleased(0, 172) and not IsInputDisabled(0) then after the call for the keyboard input and this will set it to UP on the D-Pad.

1 Like

Awesome!! Thank you very much for you help It worked perfectly!! Exactly what I was looking for!!!

1 Like

You are welcome, I’m glad it worked :blush: