User:Lopez: Difference between revisions
Jump to navigation
Jump to search
̿̿ ̿̿ ̿̿ ̿'̿'\̵͇̿̿\з=( ͡° ͜ʖ ͡°)=ε/̵͇̿̿/’̿’̿ ̿ ̿̿ ̿̿ ̿̿
Line 15: | Line 15: | ||
Greetings. | Greetings. | ||
== [http://bugs.mtasa.com/view.php?id=7631 playGTAScriptSound] == | == [http://bugs.mtasa.com/view.php?id=7631 playGTAScriptSound] - my dream :p == | ||
* playGTAScriptSound(int soundID, [bool looped = false]) | * playGTAScriptSound(int soundID, [bool looped = false]) | ||
* playGTAScriptSound3D(int id, float x, float y, float z, [bool looped = false]) | * playGTAScriptSound3D(int id, float x, float y, float z, [bool looped = false]) | ||
Line 25: | Line 25: | ||
=== Memory adress === | === Memory adress === | ||
Memory adress of main.scm function to play sound. | Memory adress of main.scm function to play sound. | ||
0953: get_soundtrack_status_to - ? | <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 | |||
043C: disable_sounds_after_fade 1 -- can be 1 or 0 | |||
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 doesn't exist in AudioEvents.txt | |||
</syntaxhighlight> | |||
</section> | |||
== Brudnopis == | == Brudnopis == |
Revision as of 18:39, 26 May 2013
Hello, my name is lopez(loo) and I'm from Poland.
You can look to
- my multi-server project - redknife.net (Counter Strike and Cops vs Robber server)
- my public resources
- my YouTube channel about Grand Theft Auto Trilogy
- my polish wikipedia account
- my editions
- you can also search my nick for proposals in bugs.mtasa.com
Lolcontent fact about lopez: he created polish sa-mp wiki on 2009, but currently project is dead (sa-mp sux).
Greetings.
playGTAScriptSound - my dream :p
- playGTAScriptSound(int soundID, [bool looped = false])
- playGTAScriptSound3D(int id, float x, float y, float z, [bool looped = false])
Sounds ID
- http://pastebin.com/cfMR0phi -- list of all GTA script sounds from data/AudioEvents.txt (ex. casino conversations etc.)
- http://wiki.sa-mp.com/wiki/SoundID -- list of all (?) GTA script sound - samp list (yeah.. samp CAN play these sounds! MTA CAN'T!)
Memory adress
Memory adress of main.scm function to play sound.
Click to collapse [-]
from main.scm0952: 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 043C: disable_sounds_after_fade 1 -- can be 1 or 0 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 doesn't exist in AudioEvents.txt
Brudnopis
Jak robić przekierowania na wiki?
#REDIRECT [[Hasło docelowe]]
Używając tego można zrobić przekierowanie z polskiej nazwa hasła na uniwersalny format. Przykład: Kolory pojazdów -> PL/Vehicle Colors
Dodawanie polskich haseł:
- Hasło: PL/Nazwa
- Kategoria: Poprawnie: Category:PL/Nazwa Niepoprawnie: PL/Category:Nazwa
- Styl: Template:PL/Nazwa Niepoprawnie: PL/Template:Nazwa
- Resource: ???