Jump to content

GTA VC Audio


mcasdfp

Recommended Posts

Hello Friends. In this code for GTA VC, when I grab the pickup its supposed to play that audio. I just added sound 36 to test the code, and that sound is playing. But WAV 1 isnt. Is there something else I need to do?

 

 

 

:audio_test

wait 0

model.Load(280)

model.Available(280)

jf @audio_test
032B: 0@ = create_weapon_pickup 280 3 ammo 90 at 236.7383 -1287.0455 11.0712
model.Destroy(280)
:audio_test_1
wait 0
if
  0214:   pickup 0@ picked_up
jf @audio_test_1
:audio_test_2
wait 0
018D: 1@ = create_sound 36 at 236.7383 -1287.0455 11.0712
wait 1000
03CF: load_wav 'BAR_1' as 1
03D7: set_wav 1 location 236.7383 -1287.0455 11.0712 
03D1: play_wav 1
wait 3000
040D: unload_wav 1
terminate_this_script

Link to comment
Share on other sites

 

Why 36 ? what should it be?

 

try this

018C: play_sound 1 at 236.7 -1287.1 11.1

 

wav codes need to be done in this way

        040D: unload_wav  1
        03CF: load_wav  'bust_07' as  1
        
        while 83D0: not  wav  1 loaded
            wait  0
        end
        
        03D1: play_wav 1

 

Link to comment
Share on other sites

Another question. Is it possible to add wav files to audio folder and play them?

Link to comment
Share on other sites

no, not possible to add wav files to audio folder and play them

Link to comment
Share on other sites

no, i don't know any

cleo vc doesn't have additional codes to play audio

Link to comment
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
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.