How to edit the Siren script?

Hi :hand_splayed_tone1: ! I was just wondering how you edit the siren script? I’d like to change the button so it’s easier to use on the controller, but I haven’t figured out a way too.

change it to an arrow key like left right up down function that will work for DPAD also so go here https://github.com/Konijima/WikiFive/wiki/Controls look at it the controls are explained as the action of what the key does for ex cellphone up down left right would be one of the keys you would want to choose or maybe headlights for H or lookbehind which is C , etc

Thanks! How would I edit that in the actual siren_client.lua? For example, where would the numbers go and all that?

ummm – listen for keys
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if IsControlJustPressed(1, 172) then
if IsPedInAnyVehicle(GetPlayerPed(-1), true) then
TriggerEvent(‘NoSiren’)
end
end
end
end)

the 172 represents the key so change that to w/e ud like