New pages

Jump to navigation Jump to search
New pages
Show bots | Show redirects
(newest | oldest) View ( | older 20) (20 | 50 | 100 | 250 | 500)
  • 17:42, 10 April 2023EngineAddImage (hist | edit) ‎[582 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21708|This function adds an IMG filecontainer from GTA.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineAddImage( img img_file ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to add. ===Returns=== Returns an IMG element if the IMG file was successfully added, ''false'' o...")
  • 17:40, 10 April 2023EngineRemoveImage (hist | edit) ‎[766 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21708|This function removes an IMG container from GTA.}} {{Note|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineRemoveImage ( img img_file ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to remove. ===Returns=== Returns ''true'' if IMG file was successfully removed, ''false'' otherwise....")
  • 15:27, 10 April 2023EngineImageGetFilesCount (hist | edit) ‎[673 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function returns the number of files an IMG file has. ==Syntax== <syntaxhighlight lang="lua"> int engineImageGetFilesCount ( img imgArchive ) </syntaxhighlight> {{OOP||img:getFilesCount||}} ===Required Arguments=== *'''imgArchive:''' the IMG archive handler ===Returns=== Returns an ''int'' with the number of files. ==Example== You could use the following code: <syntaxhighlight lang="lua"> local img = engineLoadIMG( "file.im...")
  • 23:54, 8 April 2023EngineLoadIMG (hist | edit) ‎[1,016 bytes]Insigne (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21708|This function loads an IMG container into GTA.}} ==Syntax== <syntaxhighlight lang="lua">img engineLoadIMG( string img_file )</syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The filepath to the IMG file you want to load. ===Returns=== Returns an IMG element if the IMG file loaded, ''false'' otherwise. ==See Also== {{Engine_functions}}")
  • 20:12, 8 April 2023Changes in 1.6.1 (hist | edit) ‎[23,404 bytes]Myonlake (talk | contribs) (Created page with "<pageclass class="#4286f4" subcaption="Next release"></pageclass> {{Changelogs}} __NOTOC__ '''This changelog is partial and needs updating. It is updated progressively to keep the page always up to date.")
  • 09:59, 8 April 2023PL/getSoundEffects (hist | edit) ‎[977 bytes]Tracer (talk | contribs) (Redirected page to GetSoundEffects) Tag: New redirect
  • 09:56, 8 April 2023PL/getSoundEffectParameters (hist | edit) ‎[1,176 bytes]Tracer (talk | contribs) (Redirected page to GetSoundEffectParameters) Tag: New redirect
  • 17:46, 7 April 2023PL/float (hist | edit) ‎[166 bytes]Tracer (talk | contribs) (Redirected page to Float) Tag: New redirect
  • 17:43, 7 April 2023PL/getSoundBufferLength (hist | edit) ‎[3,355 bytes]Tracer (talk | contribs) (TODO: Change the example)
  • 01:09, 4 April 2023GetElementRelatedAngle (hist | edit) ‎[3,926 bytes]LordHenry (talk | contribs) (Created page with "__NOTOC__ {{Useful Function}} This function returns the related angle between one element to another. This is useful to check if a player is on the left side of a vehicle, for example. ==Syntax== <syntaxhighlight lang="lua">float, float getElementRelatedAngle (element thisElement, element targetElement)</syntaxhighlight> ===Required Arguments=== * '''thisElement''': The element whose '''XY position''' will be checked to obtain the angle relative to the other...")
  • 08:37, 17 March 2023RO/getPedClothes (hist | edit) ‎[1,698 bytes]Hydra (talk | contribs) (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 2023RO/Cum Poti Ajuta (hist | edit) ‎[4,311 bytes]Hydra (talk | contribs) (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 2023RO/Main Page (hist | edit) ‎[9,634 bytes]Hydra (talk | contribs) (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 2023RO/getPedArmor (hist | edit) ‎[875 bytes]Hydra (talk | contribs) (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 2023RO/getPedAmmoInClip (hist | edit) ‎[1,585 bytes]Hydra (talk | contribs) (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 2023RO/createPed (hist | edit) ‎[3,194 bytes]Hydra (talk | contribs) (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ă...")
  • 05:22, 3 March 2023CreateGarageColShape (hist | edit) ‎[2,998 bytes]LordHenry (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle/> __NOTOC__ This function creates a collision shape from the specified garage. Most garage collision shapes are rectangles, but if the garage is diagonal, its collision shape is a polygon. {{VisualizeColshape}} ==Syntax== <syntaxhighlight lang="lua">colshape createGarageColShape (int garageID)</syntaxhighlight> ===Required Arguments=== *'''garageID:''' The garage ID that represents the garage interior that's being gotten....")
  • 09:33, 16 February 2023IsCommandHandlerAdded (hist | edit) ‎[1,280 bytes]Hydra (talk | contribs) (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...")
  • 11:51, 11 February 2023OnDgsElementLeave (hist | edit) ‎[1,492 bytes]Thisdp (talk | contribs) (Created page with "{{Client event}} __NOTOC__ This event is fired when the user moves the mouse away from a DGS element even this DGS element is blocked by other DGS elements. '''But you have to set property enableFullEnterLeaveCheck of the DGS element to ''true'''''. ==Parameters== <syntaxhighlight lang="lua"> int absoluteX, int absoluteY </syntaxhighlight> * '''absoluteX''': the X position of the mouse cursor, in pixels, measured from the left side of the screen. * '''absoluteY'...")
  • 11:49, 11 February 2023OnDgsElementEnter (hist | edit) ‎[1,485 bytes]Thisdp (talk | contribs) (Created page with "{{Client event}} __NOTOC__ This event is fired when the user moves the mouse over a DGS element even this DGS element is blocked by other DGS elements. '''But you have to set property enableFullEnterLeaveCheck of the DGS element to ''true'''''. ==Parameters== <syntaxhighlight lang="lua"> int absoluteX, int absoluteY, element leftGUI </syntaxhighlight> * '''absoluteX''': the X position of the mouse cursor, in pixels, measured from the left side of the screen. * '...")
(newest | oldest) View ( | older 20) (20 | 50 | 100 | 250 | 500)