User:Lopez: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Replaced content with "* [https://github.com/lopezloo GitHub profile] * [https://forum.mtasa.com/profile/26157-lopezloo/ Forum profile]")
Tag: Replaced
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Disabled|Super hero already exists.}}
* [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.]]
 
==[[PL/Strona Główna|Syntax]]==
<syntaxhighlight lang="lua">
superhero createSuperHero (float x, float y, float z [, string name = "lopez", string nationality = "Poland", int intelligence = 1337, int force = 1337, int beauty = 1337 ] )
</syntaxhighlight>
 
===Returns===
Returns the [[User:Lopez/r|super hero]] element that was created. Returns ''false'' if the arguments are incorrect, or if the super hero limit of 1 is exceeded.
 
== You can look to ==
*[http://redknife.net my multi-server project - redknife.net (Counter Strike and Cops vs Robber server)]
*[https://community.multitheftauto.com/index.php?p=profile&id=319932 my public resources]
*[https://youtube.com/user/lopezloo my YouTube channel about Grand Theft Auto Trilogy]
*[https://pl.wikipedia.org/wiki/Wikipedysta:Achtung my polish wikipedia account]
*[https://wiki.multitheftauto.com/wiki/Special:Contributions/Lopez my editions]
*you can also search my nick for proposals in [http://bugs.mtasa.com/view_all_bug_page.php bugs.mtasa.com]
 
'''Lolcontent fact about lopez''': he created polish sa-mp wiki on 2009, but currently project is dead (sa-mp sux).
 
Greetings.
 
=== My bug reports ===
==== bugs ====
*[http://bugs.mtasa.com/view.php?id=7540 7540] changing "move_speed" property with setWeaponProperty does nothing
*[http://bugs.mtasa.com/view.php?id=7719 7719] '''[confirmed]''' getPedTotalAmmo() & getPedAmmoInClip() sometimes gets crazy
*[http://bugs.mtasa.com/view.php?id=7753 7753] control states - bugs with crouch
*[http://bugs.mtasa.com/view.php?id=7760 7760] grenade explode when it is destroyed
 
==== requests ====
*[http://bugs.mtasa.com/view.php?id=7541 7541] '''[request]''' more properties in setWeaponProperty
*[http://bugs.mtasa.com/view.php?id=7631 7631] '''[request]''' playPoliceRadioSound, playGTAScriptedSound
 
 
== [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>
 
== Brudnopis ==
===Jak robić przekierowania na wiki?===
<pre style="overflow:auto"><nowiki>#REDIRECT [[Hasło docelowe]]</nowiki></pre>
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: ???
 
=== Spolszczone funkcje ===
* [[PL/CreateVehicle]]
* [[PL/GetRandomPlayer]]
 
=== Polskie szablony ===
* [[Template:PL/Note_box]]
* [[Template:PL/Needs_Checking]]
* [[Template:PL/Translator]]
 
=== Niewykorzystane polskie artykuły ===
* <s>[[Argumenty_opcjonalne]]</s>
 
=== Moje hasła (od początku) ===
* [[PL/Character_Skins]]
* [[PL/Todo]]
* [[PL/Vehicle_Colors]]
* [[PL/Polish_MTA_version]]
* [[PL/Interior_IDs]]
* [[PL/Vehicle_Upgrades]]
* [[PL/Vehicle_variants]]
* [[PL/Radar_Blips]]
* [[PL/CreateVehicle]]
* [[PL/Id]]
* [[PL/GetRandomPlayer]]
 
<center><font size="64px"> ̿̿ ̿̿ ̿̿ ̿'̿'\̵͇̿̿\з=( ͡° ͜ʖ ͡°)=ε/̵͇̿̿/’̿’̿ ̿ ̿̿ ̿̿ ̿̿</font></center>

Latest revision as of 10:51, 9 December 2021