User:Lopez: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Undo revision 36306 by MOJRM-511 (talk))
m (Replaced content with "* [https://github.com/lopezloo GitHub profile] * [https://forum.mtasa.com/profile/26157-lopezloo/ Forum profile]")
Tag: Replaced
 
(52 intermediate revisions by the same user not shown)
Line 1: Line 1:
Hello, my name is lopez(loo) and I'm from [[PL/Strona_Główna|Poland]][[File:Plflag.png]].
* [https://github.com/lopezloo GitHub profile]
 
* [https://forum.mtasa.com/profile/26157-lopezloo/ Forum profile]
[[File:Oilschaps.jpg|thumb|350px|I don't have idea what I am doing.]]
 
 
 
Greetings.
 
== [http://bugs.mtasa.com/view.php?id=7631 playGTAScriptSound] ==
<section name="Client" class="client" show="true">
<syntaxhighlight lang="lua">
playGTAScriptSound(int soundID, [bool looped = false])
playGTAScriptSound3D(int soundID, float x, float y, float z, [bool looped = false])
</syntaxhighlight>
</section>
 
=== Sounds ID ===
* http://pastebin.com/cfMR0phi -- list of all GTA script sounds from data/AudioEvents.txt (ex. casino conversations etc.)
 
=== Memory adress ===
Memory adress of main.scm function to play sound.
<section name="from main.scm" class="client" show="true">
<syntaxhighlight lang="lua">
 
0952: load_soundtrack 0 -- 0 is id?
0953: get_soundtrack_status_to @23 - I think last argument is main.scm code block
 
0954: start_playing_loaded_soundtrack
0955: end_playing_loaded_soundtrack
^ i think this is the old, bugged playMissionAudio function
 
043C: disable_sounds_after_fade 1 -- can be 1 or 0
 
I think this is what Im looking for
018C: play_sound 1052 at 0.0 0.0 0.0 - this? SOUND_AMMUNATION_BUY_WEAPON 1052; I think 0 0 0 = no 3D sound
018C: play_sound 65535 at 2181.127 -2251.999 14.036 - another example; id 65535 doesnt exist in AudioEvents.txt
018C: play_sound 1058 at 0.0 0.0 0.0
018C: play_sound 1053 at 0.0 0.0 0.0
 
'--> 018C <--
 
</syntaxhighlight>
</section>
 
== ? ==
 
MOJRM-511
<meta http-equiv="Content-Language" content="ar-sa">
 
 
<center><font size="64px"> ̿̿ ̿̿ ̿̿ ̿'̿'\̵͇̿̿\з=( ͡° ͜ʖ ͡°)=ε/̵͇̿̿/’̿’̿ ̿ ̿̿ ̿̿ ̿̿</font></center>

Latest revision as of 10:51, 9 December 2021