Check vehicle type for esx_cruisecontrol

Hello,
I have an old resource (esx_cruisecontrol), which (I think) does not exist anymore or was removed (https://github.com/ESX-Org/esx_cruisecontrol/releases). This resource has a bug so when you turn on cruise control in a boat, you start flying…
Is there any way that you can check if player is in boat and disable cruise control?

(btw sorry for my english)
Any help would mean a lot to me, thank you :slight_smile:

main.7z (1.2 KB)

^^client of script

You have this client native where you can check if the given ped is in a boat:

As a second option you can check the vehicle itself using its class with 14 being boats.

1 Like

Bro you made my day. Thank you :))

What do have done can you send me the file?

I can’t find it