soythebest1 Posted September 2, 2022 Share Posted September 2, 2022 someone help me? My code doesn't work for me. I want that when I reach a point a sound is activated and when I move away that sound stops. In addition to the fact that there is a condition with the schedule (that it only works after 12 at night): // This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs} Player.Defined($PLAYER_CHAR) 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 2492.5119 -1702.3186 1018.3437 radius 70.0 70.0 70.0 [email protected] = Audiostream.Load3D("audio\nature\llorona.mp3") Audiostream.SetPosition([email protected], 2492.5119, -1702.3186, 1018.3437) Audiostream.PerformAction([email protected], AudioStreamState.Play) 0ACA: show_cheat_box "NOCHE ACTIVADA" 0104: actor $PLAYER_ACTOR near [email protected] radius 5.0 5.0 5.0 sphere 0 Audiostream.PerformAction([email protected], AudioStreamState.Stop) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now