User contributions for Hydra

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

14 October 2023

2 October 2023

  • 08:0208:02, 2 October 2023 diff hist +1,754 N RO/getSoundPropertiesCreated 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/getSoundPanCreated 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/getSoundFFTDataNo edit summary
  • 07:4707:47, 2 October 2023 diff hist +2,672 N RO/getSoundFFTDataCreated 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

17 April 2023

  • 09:0409:04, 17 April 2023 diff hist +692 N SetScreenFlashCreated 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/getPedClothesNo edit summary current
  • 08:3708:37, 17 March 2023 diff hist +1,694 N RO/getPedClothesCreated 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

16 February 2023

  • 09:3309:33, 16 February 2023 diff hist +1,280 N IsCommandHandlerAddedCreated 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 IsVehicleOnFireCreated 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

28 April 2022

12 April 2022

  • 20:2920:29, 12 April 2022 diff hist +10 SetPedAttackNo edit summary current
  • 20:2920:29, 12 April 2022 diff hist +1,554 N SetPedFollowCreated 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 SetPedAttackCreated 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

(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)