Jump to content

Cycle sirens script


azymis5ever

Recommended Posts

Hello,

I've been wanting to figure out this for a while but I can't seem to figure out what i can do to pull the sound file or rather it's not working the way I want it to work.

So basically, my task is to find out a way to cycle through the sirens by pressing N but if I press "." it goes to a different sound in this case it's the wail, next if I press the "," it goes to the yelp. I was given a hint by a lua scripter but he didn't want to help me and wanted me to figure it out by myself but I can't find a way.

Hint: from the client it triggers a server event follow where that server event is supposed to go to
in the triggerServerEvent it also sends over what sound it should play, you need to receive that on the server and set the element data accordingly

CODE REMOVED

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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