User contributions for Hydra
Jump to navigation
Jump to search
14 October 2023
- 08:3708:37, 14 October 2023 diff hist +263 EngineSetSurfaceProperties →Example current
2 October 2023
- 08:0208:02, 2 October 2023 diff hist +1,754 N 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..." current
- 07:5507:55, 2 October 2023 diff hist +925 N 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..." current
- 07:5007:50, 2 October 2023 diff hist 0 RO/getSoundFFTData →Required Arguments current
- 07:4907:49, 2 October 2023 diff hist +11 RO/getSoundFFTData No edit summary
- 07:4707:47, 2 October 2023 diff hist +2,672 N 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â..."
21 September 2023
- 08:1108:11, 21 September 2023 diff hist 0 Template:Useful Functions →Cursor functions
- 08:1108:11, 21 September 2023 diff hist +1,215 N 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..."
- 08:0408:04, 21 September 2023 diff hist +147 Template:Useful Functions →Cursor functions
17 April 2023
- 09:0409:04, 17 April 2023 diff hist +692 N 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..."
- 09:0109:01, 17 April 2023 diff hist +136 Template:Useful Functions →Effects functions
17 March 2023
- 08:3808:38, 17 March 2023 diff hist +4 RO/getPedClothes No edit summary current
- 08:3708:37, 17 March 2023 diff hist +1,694 N 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...."
15 March 2023
- 21:2921:29, 15 March 2023 diff hist +195 RO/createPed No edit summary current
- 21:2921:29, 15 March 2023 diff hist +195 RO/createPed No edit summary
- 18:3018:30, 15 March 2023 diff hist +51 RO/Main Page No edit summary current
- 18:2818:28, 15 March 2023 diff hist +42 RO/Main Page No edit summary
- 17:1317:13, 15 March 2023 diff hist +4,311 N 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! ==..." current
- 16:5716:57, 15 March 2023 diff hist +59 RO/Main Page No edit summary
- 16:5516:55, 15 March 2023 diff hist +21 RO/Main Page No edit summary
- 16:5316:53, 15 March 2023 diff hist +401 RO/Main Page No edit summary
- 16:4816:48, 15 March 2023 diff hist +305 RO/Main Page No edit summary
- 16:4416:44, 15 March 2023 diff hist +205 RO/Main Page No edit summary
- 16:4116:41, 15 March 2023 diff hist +1 RO/Main Page No edit summary
- 16:4016:40, 15 March 2023 diff hist +8,549 N 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:2716:27, 15 March 2023 diff hist +875 N 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"..." current
- 16:2216:22, 15 March 2023 diff hist +7 RO/createPed No edit summary
- 16:2116:21, 15 March 2023 diff hist +61 RO/getPedAmmoInClip No edit summary current
- 16:2016:20, 15 March 2023 diff hist +1,524 N 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:1416:14, 15 March 2023 diff hist +2,797 N 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ă..."
16 February 2023
- 09:3309:33, 16 February 2023 diff hist +1,280 N 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..." current
- 08:4308:43, 16 February 2023 diff hist +173 Template:Useful Functions →Input functions
22 September 2022
- 07:2707:27, 22 September 2022 diff hist +740 N 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..."
- 07:2407:24, 22 September 2022 diff hist +131 Template:Useful Functions →Vehicle functions
21 June 2022
- 15:2515:25, 21 June 2022 diff hist 0 CreateRectangle3D No edit summary current
- 15:2515:25, 21 June 2022 diff hist 0 CreateRectangle3D No edit summary
- 15:2515:25, 21 June 2022 diff hist +2,218 N 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..."
- 15:1315:13, 21 June 2022 diff hist +151 Template:Useful Functions →Drawing functions
28 April 2022
- 16:4016:40, 28 April 2022 diff hist −140 Template:Useful Functions →Ped functions Tag: Manual revert
- 16:3816:38, 28 April 2022 diff hist +140 Template:Useful Functions →Ped functions
- 16:2016:20, 28 April 2022 diff hist +1,373 N 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..." current
- 16:1116:11, 28 April 2022 diff hist +145 Template:Useful Functions →Ped functions
12 April 2022
- 20:2920:29, 12 April 2022 diff hist +10 SetPedAttack No edit summary current
- 20:2920:29, 12 April 2022 diff hist +1,554 N 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:2520:25, 12 April 2022 diff hist +130 Template:Useful Functions →Ped functions
- 20:2320:23, 12 April 2022 diff hist +2,426 N 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..."
- 20:1020:10, 12 April 2022 diff hist +130 Template:Useful Functions →Ped functions
17 December 2021
- 23:2023:20, 17 December 2021 diff hist +23 IsElementObject No edit summary
- 23:1923:19, 17 December 2021 diff hist +532 N 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..."
- 23:1723:17, 17 December 2021 diff hist +134 Template:Useful Functions →Object functions