Jump to content
CreepPork

Issue with spawning a police car and lights

Recommended Posts

Hello!

So I am creating callouts and using Rage and the API,

I spawned a vehicle which is a police vehicle equipped with lights and sirens but I can't find a way to turn on the lights and sirens.

Could anybody help me?

Thanks!

Share this post


Link to post
Share on other sites
23 minutes ago, CreepPork said:

Hello!

So I am creating callouts and using Rage and the API,

I spawned a vehicle which is a police vehicle equipped with lights and sirens but I can't find a way to turn on the lights and sirens.

Could anybody help me?

Thanks!

Use the propertie IsSirenOn:
      vehicle.IsSirenOn = true;
 

And if you want the siren to be silent too, use IsSirenSilent :
     vehicle.IsSirenSilent = true;

 

Edited by alexguirre

Share this post


Link to post
Share on other sites
58 minutes ago, alexguirre said:

Use the propertie IsSirenOn:
      vehicle.IsSirenOn = true;
 

And if you want the siren to be silent too, use IsSirenSilent :
     vehicle.IsSirenSilent = true;

 

Thank you, that works brilliant! 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×