All public logs

Jump to navigation Jump to search

Combined display of all available logs of Multi Theft Auto: Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 08:02, 2 October 2023 Hydra talk contribs created page RO/getSoundProperties (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0130|1.3.0|4097| Această funcție obține proprietățile unui anumit sound. }} ==Sintaxă== <syntaxhighlight lang="lua">float, float, float, bool getSoundProperties( element sound )</syntaxhighlight> {{OOP||sound:getProperties||setSoundProperties}} ===Argumente necesare=== *'''sound:'''' un sound element care este creat folosind playSound sau playSound3D. ===Returneaza=== Această funcție...")
  • 07:55, 2 October 2023 Hydra talk contribs created page RO/getSoundPan (Created page with "__NOTOC__ {{Client function}} Această funcție este utilizată pentru a obține nivelul de panoramare al elementului sound specificat. ==Sintaxă== <syntaxhighlight lang="lua">float getSoundPan ( element theSound )</syntaxhighlight> {{OOP||sound:getPan|pan|setSoundPan}} ===Argumente necesare=== *''''theSound:'''' elementul sound pe care doriți să îl obțineți. ===Returnează=== Returnează valoarea ''float'' cu intervalul de la ''-1,0 (stânga)'' l...")
  • 07:47, 2 October 2023 Hydra talk contribs created page RO/getSoundFFTData (Created page with "__NOTOC__ {{Client function}} Această funcție obține datele transformării rapide Fourier pentru un flux audio, care este un tabel de valori float reprezentând cadrul audio curent. Acest lucru permite vizualizări, de exemplu. O transformare Fourier rapidă generează un tabel cu toate frecvențele din cadrul audio curent, care începe de la capătul de jos al spectrului, trecând de la frecvențe medii la cele înalte, în această ordine. În cazul în care întâ...")
  • 08:11, 21 September 2023 Hydra talk contribs created page SetCursorCenteredOnRectangle (Created page with "{{Useful Function}} __NOTOC__ This function will center the cursor inside of an rectangle. ==Syntax== <syntaxhighlight lang="lua">bool setCursorCenteredOnRectangle ( float x, float y, float width, float height)</syntaxhighlight> ===Required Arguments=== * '''x:''' The x position of the rectangle. * '''y:''' The y position of the rectangle. * '''width:''' The width of the rectangle. * '''height:''' The width of the rectangle. ===Returns=== Returns a ''true'' if the op...")
  • 09:04, 17 April 2023 Hydra talk contribs created page SetScreenFlash (Created page with "{{Useful Function}} <lowercasetitle/> __NOTOC__ This function allows you to attach an effect to an element. ==Syntax== <syntaxhighlight lang="lua">bool setScreenFlash()</syntaxhighlight> ==Code== <syntaxhighlight lang="lua"> function setScreenFlash() fadeCamera(false, 0.2, 255, 255, 255) setTimer(function() fadeCamera(true) end, 100, 1) end) </syntaxhighlight> ==Example== <section name="Client" class="client" show="true"> Quick Example, your scree...")
  • 08:37, 17 March 2023 Hydra talk contribs created page RO/getPedClothes (Created page with "{{Server client function}} __NOTOC__ Această funcție este folosită pentru a vedea hainele, texturile si modelul unui ped ped. ==Sintaxă== <syntaxhighlight lang="lua"> string, string getPedClothes ( ped thePed, int clothesType ) </syntaxhighlight> {{OOP||ped:getClothes||addPedClothes}} ===Argumente Necesare=== *'''thePed:''' ped ale cărui haine vreți să le obțineți. *'''clothesType:''' Tipul/slot de îmbrăcăminte pe care doriți să-l obțineți....")
  • 17:13, 15 March 2023 Hydra talk contribs created page RO/Cum Poti Ajuta (Created page with "__NOTOC__ Multi Theft Auto are o mulțime de domenii în care ne puteți ajuta. La rândul nostru, vom fi mai mult decât bucuroși să vă ajutăm să începeți cu orice idei pe care le aveți, să le ajutăm să le testăm și, dacă sunt suficient de bune, să le lansăm întregii comunități. Această pagină prezintă domeniile cheie în care ați putea face ceva, desigur, există multe lucruri la care nu ne-am gândit, așa că gândiți-vă în afara cutiei! ==...")
  • 16:40, 15 March 2023 Hydra talk contribs created page RO/Main Page (Created page with "<div style="display: flex; align-items: center; padding-left: 15px; padding-right: 15px;"> |100px|link=https://wiki.multitheftauto.com/ <div style="margin-left: .5em"> '''Bine ai venit pe wiki-ul Multi Theft Auto''' Pe acest wiki veți găsi o mulțime de informații despre utilizarea Multi Theft Auto. Există multe things you can do to help us îmbunătățiți MTA - creați o hartă, un mod de joc, ajutați la documentare...")
  • 16:27, 15 March 2023 Hydra talk contribs created page RO/getPedArmor (Created page with "__NOTOC__ {{Server client function}} Această funcție returnează armura curentă unui ped specificat. ped ==Syntax== <syntaxhighlight lang="lua">float getPedArmor ( ped thePed )</syntaxhighlight> {{OOP||ped:getArmor|armor|setPedArmor}} ===Argumente Necesare=== *'''thePed:''' ped armura cui vrei sa ii verifici ===Returnează=== Un ''float'' cu armură, ''fals'' dacă a fost dat un ped invalid. ==Exemplu== <section name="Client" class="client" show="true"...")
  • 16:20, 15 March 2023 Hydra talk contribs created page RO/getPedAmmoInClip (Created page with "__NOTOC__ {{Server client function}} Această funcție returnează un număr care conține muniția dintr-o armă specificată a lui ped. Vedeți Informații despre arme ==Syntax== <syntaxhighlight lang="lua"> int getPedAmmoInClip ( ped thePed [, int weaponSlot = current ] ) </syntaxhighlight> {{OOP||ped:getAmmoInClip|ammoInClip}} ===Argumente Necesare=== *'''thePed:''' ped a cărui muniție doriți să verificați. ===Argumente Opționale=== *...")
  • 16:14, 15 March 2023 Hydra talk contribs created page RO/createPed (Created page with "__NOTOC__ {{Server client function}} Creează un ped în lumea GTA. ==Sintaxă== <section name="Server" class="server" show="true"> <syntaxhighlight lang="lua">ped createPed ( int id model, float x, float y, float z [, float rotație = 0.0, bool sincronizat = true ] )</syntaxhighlight> ===Argumente Necesare=== *'''id model:''' Un număr care specifică modelul pielii GTASA skin ID. *'''x:''' Un număr care reprezintă coordonatele X de pe hartă...")
  • 09:33, 16 February 2023 Hydra talk contribs created page IsCommandHandlerAdded (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ Checks if a command is added in the respective resource. ==Syntax== <syntaxhighlight lang="lua"> isCommandHandlerAdded(string command) </syntaxhighlight> ===Required Arguments=== *'''command:''' The name of the command you want to check. ===Returns=== Return true if the command exists and false if not. ==Code== <section name="Serverside script" class="server" show="true"> <syntaxhighlight lang="lua"> fu...")
  • 07:27, 22 September 2022 Hydra talk contribs created page IsVehicleOnFire (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function checks if the vehicle is on fire. ==Syntax== <syntaxhighlight lang="lua">bool isVehicleOnFire(vehicle theVehicle)</syntaxhighlight> ===Required Arguments=== * '''vehicle''': vehicle element. ==Code== <section name="Function source" class="both" show="true"> <syntaxhighlight lang="lua"> function isVehicleOnFire(elementVehicle) if getElementType(elementVehicle) == "vehicle" then local...")
  • 15:25, 21 June 2022 Hydra talk contribs created page CreateRectangle3D (Created page with "{{Useful Function}} __NOTOC__ This function draws a 3d rectangle on the player screen. * '''NOTE:''' only CLIENT-SIDE. ==Syntax== <syntaxhighlight lang="lua">bool CreateRectangle3D ( float x, float y, float width, float height, int color, float rx, float ry, float rz )</syntaxhighlight> ===Required Arguments=== * '''X:''' Screen X position. * '''Y:''' Screen Y position. * '''WIDTH:''' The width of the rectangle. * '''HEIGHT:''' The height of the rectangle. ===Option...")
  • 16:20, 28 April 2022 Hydra talk contribs created page GetPlayerNameFromID (Created page with "{{Useful Function}} __NOTOC__ This function will get the player name using the ID element data. ==Syntax== <syntaxhighlight lang="lua">bool getPlayerNameFromID(number theID, element theElement)</syntaxhighlight> ===Required Arguments=== * '''theID''': The id number. * '''theElement''': The player element. ==Code== <section name="Clientside script" class="client" show="true"> <syntaxhighlight lang="lua"> function getPlayerNameFromID(theID, theElement) if isElement(t...")
  • 20:29, 12 April 2022 Hydra talk contribs created page SetPedFollow (Created page with "{{Useful Function}} __NOTOC__ This function makes a ped to follow a player. <br> '''Only CLIENT-SIDE''' <br> ==Syntax== <syntaxhighlight lang="lua">bool setPedFollow(ped theElement, target element theTarget)</syntaxhighlight> ===Required Arguments=== * '''theElement''': The ped element. * '''theTarget''': The target element. ==Code== {{RequiredFunctions|findRotation}} <section name="Clientside script" class="client" show="true"> <syntaxhighlight lang="lua"> function s...")
  • 20:23, 12 April 2022 Hydra talk contribs created page SetPedAttack (Created page with "{{Useful Function}} __NOTOC__ This function makes a ped to attack a player. <br> '''Only CLIENT-SIDE''' <br> ==Syntax== <syntaxhighlight lang="lua">bool setPedAttack(ped theElement, target element theTarget, weapon theWeapon, ammo theAmmo, slot thePedSlot)</syntaxhighlight> ===Required Arguments=== * '''theElement''': The ped element. * '''theTarget''': The target element. * '''theWeapon''': The weapon for the ped. * '''theAmmo''': The weapon ammo for the ped. * '''the...")
  • 23:19, 17 December 2021 Hydra talk contribs created page IsElementObject (Created page with "{{Useful_Function}} This function tells you if an element is an object or no. ==Syntax== <syntaxhighlight lang="lua">float isElementObject ( element theElement )</syntaxhighlight> ===Required Arguments=== *'''theElement:''' The element that you wish to check if is an object or no. ===Returns=== Returns an object. ==Code== <syntaxhighlight lang="lua"> function isElementObject(element) if isElement(element) and getElementType(element) == "object" then return e...")
  • 19:34, 26 October 2021 Hydra talk contribs created page DxDrawRectangleOnPlayer (Created page with "{{Useful Function}} __NOTOC__ This function draws 3D rectangles above the player.<br> * '''NOTE:''' The structure of the code was made based on the greenzone tag resource!. =...")
  • 19:32, 26 October 2021 Hydra talk contribs created page DxDrawRectangleOnElement (Created page with "{{Useful Function}} __NOTOC__ This function draws 3D rectangles above the player.<br> * '''NOTE:''' The structure of the code was made based on the greenzone tag resource!. =...")
  • 17:23, 19 October 2021 Hydra talk contribs created page IsElementInAir (Created page with "==Syntax== <syntaxhighlight lang="lua"> bool isElementInAir ( element theElement ) </syntaxhighlight> ===Returns=== Returns true if the element is in air, false otherwise. =...")
  • 15:52, 2 March 2020 User account Hydra talk contribs was created