Jump to content

Sirens


Supernova

Recommended Posts

I'm quite new to scripting, although I know the very basics of it - enough for me to get my head around the average few lines of code.

Anyway, doing some research, I've come across a neat function which goes by the name of

addVehicleSirens. I've attempted to get it working myself, but have failed countless times, so I'm turning to here in hope of being able to get a hand.

All I need to know is how exactly to set up a function like this one, I'm sure there's many of you that will know the answer to this simple question.

Thanks a lot!

Link to comment

It depends on how you want it to work, the example is simply will add the sirens to any vehicle you enter and it will be removed from the vehicle when you exit from it, that all.

You just need to create new resource, and copy - paste the example, and be sure it must be server side.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...