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