Sirens won't turn onFixed

Hi, since this update i have problems with the Sirens. The Sirens can be attached to the vehicle, but when i press the button, it doesn't work.

        private object OnButtonPress(PressButton aButton, BasePlayer aPlayer)
        {
            //BaseVehicle theVehicle = aButton.GetComponentInParent<BaseVehicle>()?.VehicleParent();
            BaseVehicle theVehicle = aPlayer?.GetMountedVehicle();
            //BaseVehicle theVehicle = aButton.GetComponentInParent<BaseVehicle>();

Hi,
ok, i think the Button is the Problem. i change the Hook OnButtonPress. This Workaround works for me.

Hi there,
thank you for the report.
I hope I can fix this officially within the next few days.

Best regards
ZockiRR



Merged post

Hi again,
I fixed this issue in the latest version of the plugin (v2.1.3), so that it will also work when the player is not mounted to the vehicle (if configured).

Thank you for your patience.

Best regards
ZockiRR

Locked automatically