Jump to content

els siren


epicmrjuan

Recommended Posts

Hey, I'm trying to detect when the player turn there siren on but this doesn't seem to work, is this my fault or does it works different with els?

 

Spoiler

                    if(IsSirenDone == false && Game.LocalPlayer.LastVehicle.IsSirenOn == true && Game.LocalPlayer.LastVehicle.IsSirenSilent == false && Game.LocalPlayer.Character.DistanceTo(CallLocation) <= 500f)
                    {
                        Game.LogTrivial("turned sirens on");

                        CallMood = CallMood - 2;
                        IsSirenDone = true;
                    }

 

Thank you for any help.

Thank you

Link to comment
Share on other sites

53 minutes ago, epicmrjuan said:

Hey, I'm trying to detect when the player turn there siren on but this doesn't seem to work, is this my fault or does it works different with els?

 

  Reveal hidden contents


                    if(IsSirenDone == false && Game.LocalPlayer.LastVehicle.IsSirenOn == true && Game.LocalPlayer.LastVehicle.IsSirenSilent == false && Game.LocalPlayer.Character.DistanceTo(CallLocation) <= 500f)
                    {
                        Game.LogTrivial("turned sirens on");

                        CallMood = CallMood - 2;
                        IsSirenDone = true;
                    }

 

Thank you for any help.

so for me when I got LSPDFR it took me a bit to find out how it worked so on your key bored you can it ctrl m and the els menu pops up and j turns the lights on then y is horn t is another horn and I thing g might be to then 1,2 are sirens and 34 are wigwags  

Link to comment
Share on other sites

7 minutes ago, Richie Deluca said:

so for me when I got LSPDFR it took me a bit to find out how it worked so on your key bored you can it ctrl m and the els menu pops up and j turns the lights on then y is horn t is another horn and I thing g might be to then 1,2 are sirens and 34 are wigwags  

This is the dev forum :smile:

I need to now how you check if the siren is on in code

Edited by epicmrjuan

Thank you

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...