How to police car megaphone

Hi e seen on servers that have the megaphone enabled in cars that play a sound saying stop the vehicle, I would like to know how to do it

c’est un script privé mais j’en n’avais fait un peux etre je le partagerais

text me in discord djrilez#4598

those are built in audio cues you just need to find the right ones and call the natives to load and play them …

That cue is literally called “STOP_THE_CAR”

_PLAY_AMBIENT_SPEECH_WITH_VOICE

not sure if that’s in the audio cues that are loaded by default or if you have to call request_ambient_audio_bank to load it, in which case you’d have to research which bank it belongs to

If you can’t figure it out, look at thedecompiled GTA V carsteal3.c scripts, the stop the car thing is used in that.

hmm me and my dev is gonna work on this now

1 Like

@rplayserver Something like this? Converted the sound to .ogg, used InteractSound, implemented it in RoleplayToolbox.

Edit: She got away… :disappointed_relieved:


(https://streamable.com/zskr1)

why would you do all that when you can just use natives?

I tried but couldn’t hear any speech sounds. :thinking:

1 Like
1 Like