User contributions for Hydra
Jump to navigation
Jump to search
15 March 2023
- 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
18 November 2021
- 10:0610:06, 18 November 2021 diff hist −46 IsElementInAir No edit summary
1 November 2021
- 12:0412:04, 1 November 2021 diff hist +702 IsElementInAir No edit summary
26 October 2021
- 19:3419:34, 26 October 2021 diff hist +1,846 N 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!. =..." current
- 19:3419:34, 26 October 2021 diff hist −1,846 DxDrawRectangleOnElement Blanked the page current Tag: Blanking
- 19:3319:33, 26 October 2021 diff hist −1 Template:Useful Functions →Drawing functions
- 19:3219:32, 26 October 2021 diff hist +1,846 N 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!. =..."
- 19:2219:22, 26 October 2021 diff hist +138 Template:Useful Functions →Drawing functions
19 October 2021
- 17:2817:28, 19 October 2021 diff hist −1 IsElementInAir No edit summary
- 17:2717:27, 19 October 2021 diff hist +24 IsElementInAir No edit summary
- 17:2617:26, 19 October 2021 diff hist +118 IsElementInAir No edit summary
- 17:2317:23, 19 October 2021 diff hist +777 N IsElementInAir Created page with "==Syntax== <syntaxhighlight lang="lua"> bool isElementInAir ( element theElement ) </syntaxhighlight> ===Returns=== Returns true if the element is in air, false otherwise. =..."
- 17:2117:21, 19 October 2021 diff hist +127 Template:Useful Functions →Element functions
1 September 2021
- 08:1208:12, 1 September 2021 diff hist +267 IsPedBleeding →Example
- 08:1008:10, 1 September 2021 diff hist +17 SetPedBleeding →Example Tag: Reverted
- 08:1008:10, 1 September 2021 diff hist +261 SetPedBleeding →Example Tag: Reverted
8 February 2021
- 19:0119:01, 8 February 2021 diff hist +1,025 N IsSoundPlaying Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function check if sound is playing or not. ==Syntax== <syntaxhighlight lang="lua">bool isSoundPlaying ( e..."
- 18:5618:56, 8 February 2021 diff hist +168 Template:Useful Functions →Sound functions
25 June 2020
20 March 2020
2 March 2020
- 18:2718:27, 2 March 2020 diff hist −57 GetPedAnalogControlState →Returns
- 16:0916:09, 2 March 2020 diff hist +757 GetPedAnalogControlState →Example