Jump to content
CaptinLetus

Playing Scanner Audio [SOLVED]

Recommended Posts

Two questions:  

1. If I play 1 audio after another, will the second one wait until the first is over?

2. The PlayScannerAudio function, do I just type in the audio name?  Example: Functions.PlayScannerAudio("CRIME_GUNFIRE_03");

 

UPDATE

The first audio is a postion one.  This is the code:

Functions.PlayScannerAudioUsingPosition("OFFICERS_REPORT CRIME_RESIST_ARREST IN_OR_ON_POSITION", SpawnPoint);
Functions.PlayScannerAudio("CRIME_GUNFIRE_03");

 

Thanks to whom ever helps me!

Edited by CaptinLetus

Share this post


Link to post
Share on other sites
39 minutes ago, CaptinLetus said:

 


Functions.PlayScannerAudioUsingPosition("OFFICERS_REPORT CRIME_RESIST_ARREST IN_OR_ON_POSITION", SpawnPoint);
Functions.PlayScannerAudio("CRIME_GUNFIRE_03");

 

The first line will play each of the specified sound files in order, so in game will sound as "Officers report, a criminal resisting arrest in Paleto Bay" for example. (wherever spawnpoint is).

AFAIK the second line will NOT wait for the first one to finish before playing.

And lastly yes, it will just play that audio. It follows the same principles as above so will play whatever audio lines you pass it (so you can string multiple ones together as above as well)

CaptinLetus likes this

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


×