New pages

Jump to navigation Jump to search
New pages
Hide bots | Hide redirects
(newest | oldest) View (newer 100 | ) (20 | 50 | 100 | 250 | 500)
  • 15:04, 28 March 2024PL/Server Commands (hist | edit) ‎[6,988 bytes]FileEX (talk | contribs) (Tłumaczenie)
  • 19:03, 27 March 2024PL/Command fakelag (hist | edit) ‎[1,683 bytes]FileEX (talk | contribs) (Tłumaczenie)
  • 18:41, 27 March 2024PL/Client Commands (hist | edit) ‎[5,378 bytes]FileEX (talk | contribs) (Tłumaczenie)
  • 17:37, 25 March 2024PL/Roller Coaster Generator (hist | edit) ‎[4,375 bytes]FileEX (talk | contribs) (Tłumaczenie) originally created as "PLRoller Coaster Generator"
  • 12:01, 25 March 2024PL/Resource:Editor/Plugins (hist | edit) ‎[3,423 bytes]FileEX (talk | contribs) (Tłumaczenie)
  • 14:32, 23 March 2024GTA Crash Codes (hist | edit) ‎[11,242 bytes]Tracer (talk | contribs) (Created page with "== Code: 0xC0000005 == {| class="wikitable" |- ! Offset !! Function |- | {{CrashCodeEntry|0x0013388E|CEntity::CreateEffects()}} |- | {{CrashCodeEntry|0x0000F64C|CCollisionData::GetShadTrianglePoint(CVector&, int)}} |- | {{CrashCodeEntry|0x000F0EBA|CAEStaticChannel::SetAudioBuffer(OALBuffer*, ushort, short, short, ushort)}} |- | {{CrashCodeEntry|0x003C91CC|__rpD3D9SkinGeometryReinstance}} |- | {{CrashCodeEntry|0x002FE144|CCustomRoadsignMgr::Initialise()}} |- | {{CrashCo...")
  • 18:25, 13 March 2024FixPersianString (hist | edit) ‎[1,719 bytes]RubyCommunity (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function returns a fixed sorted bilingual RTL for strings consisting of Persian/Arabic and English. just copy & paste and see the magic ;D ==Syntax== <syntaxhighlight lang="lua">str fixPersianString ( string text )</syntaxhighlight> ===Required Arguments=== * '''text''': The bilingual string. ===Returns=== Returns a fixed string . ==Code== {{RequiredFunctions|Check}} <section name="Server/Client si...")
  • 10:48, 10 March 2024DgsEditAutoCompleteAddParameterFunction (hist | edit) ‎[974 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function adds the advanced usage of dgs edit auto complete, which can be used as dynamic auto complete. ==Syntax== <syntaxhighlight lang="lua"> element dgsEditAutoCompleteAddParameterFunction( string parameterType, string functionCode ) </syntaxhighlight> ===Required Arguments=== *'''parameterType:''' A string of the parameter type you want to attach. *'''functionCode :''' A string of the function that you want to execute. ===Ret...")
  • 16:17, 21 February 2024GetBanBySerial (hist | edit) ‎[1,359 bytes]AirNewSCR (talk | contribs) (Created page with "{{Useful_Function}} <lowercasetitle/> __NOTOC__ This function returns the ban if the serial is banned, otherwise false. ==Syntax== <syntaxhighlight lang="lua">ban getBanBySerial ( string serial )</syntaxhighlight> ===Required Arguments=== * '''serial''': The banned player serial. ==Code== <section name="Server" class="server" show="true"> <syntaxhighlight lang="lua"> function getBanBySerial(serial) local result = false if serial then for _, ban in ipai...")
  • 11:33, 11 January 2024Explosion types (hist | edit) ‎[2,956 bytes]Srslyyyy (talk | contribs) (Add explosion types with specific details, much thanks for Zango to research.)
  • 01:09, 5 January 2024EngineStreamingSetModelCacheLimits (hist | edit) ‎[5 bytes]Nurupo (talk | contribs) (Created page with "To do")
  • 05:38, 23 December 2023OnPlayerMoneyChange (hist | edit) ‎[1,010 bytes]Zjoaoftw (talk | contribs) (Created page with "__NOTOC__ {{Server event}} This event identifies changes to the player's money if it is changed on the server-side. '''NOTE:''' This event explanation was created by zJoaoFtw_ ==Parameters== <syntaxhighlight lang="lua"> int oldValue, int newValue </syntaxhighlight> *'''oldValue''': the int amount of money before being changed. *'''newValue''': the int amount of money after being changed. ==Source== The source of this event is t...")
  • 16:38, 21 December 2023Commands (hist | edit) ‎[105 bytes]Fernando187 (talk | contribs) (Created page with "View the list of built in MTA commands: Client Commands Server Commands Category: Support")
  • 11:19, 21 December 2023SetVehicleRotorSpeed (hist | edit) ‎[1,547 bytes]Nurupo (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Sets the rotor speed of a helicopter or plane. This function now applies to both helicopters and planes. {{Note|Setting higher values will cause problems to the client}} ==Syntax== <syntaxhighlight lang="lua"> bool setVehicleRotorSpeed ( vehicle theVehicle, float speed ) </syntaxhighlight> {{OOP||vehicle:setVehicleRotorSpeed|vehicleRotorSpeed|getVehicleRotorSpeed}} ===Required Arguments=== *'''theVehicle:''' the vehicle (helicopter or...")
  • 11:16, 21 December 2023GetVehicleRotorSpeed (hist | edit) ‎[1,549 bytes]Nurupo (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Retrieves the speed at which the rotor of a helicopter or plane rotates. ==Syntax== <syntaxhighlight lang="lua"> float getVehicleRotorSpeed ( vehicle theVehicle ) </syntaxhighlight> {{OOP||vehicle:getVehicleRotorSpeed|vehicleRotorSpeed|setVehicleRotorSpeed}} ===Required Arguments=== *'''theVehicle:''' the vehicle element (helicopter or plane) to get the rotor speed of. ===Returns=== Returns the rotor speed if successful. This is 0 whe...")
  • 20:15, 20 December 2023PT-BR/fileWrite (hist | edit) ‎[2,190 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Escreve uma ou mais strings para um determinado arquivo, iniciando na posição de leitura/gravação atual. A posição avança de acordo com o número de bytes que estiver sendo escrito. ==Sintaxe== <syntaxhighlight lang="lua"> int fileWrite ( file theFile, string string1 [, string string2, string string3 ...]) </syntaxhighlight> {{PT-BR/POO||file:write}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' no qual...")
  • 20:03, 20 December 2023PT-BR/fileSetPos (hist | edit) ‎[1,588 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Define a posição atual para leitura/gravação no arquivo. ==Sintaxe== <syntaxhighlight lang="lua"> int fileSetPos ( file theFile, int offset ) </syntaxhighlight> {{PT-BR/POO||file:setPos|pos|PT-BR/fileGetPos}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que você quer mudar a posição de leitura/gravação. *'''offset:''' A nova posição. Este é o número de bytes partindo do início do arquivo. Se est...")
  • 19:50, 20 December 2023PT-BR/fileRename (hist | edit) ‎[1,889 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Renomeia o arquivo que especificar. {{BR/Nota|Com esta função você também pode mover determinado arquivo para um lugar diferente, seja uma pasta diferente no resource atual ou até mesmo para a pasta de um outro resource. Mas para fazer isso o resource deve ter a seguinte permissão da ACL definida para ''true'': 'ModifyOtherObjects'.}} ==Sintaxe== <syntaxhighlight lang="lua"> bool fileRename ( string filePath, string newFileP...")
  • 19:37, 20 December 2023PT-BR/fileRead (hist | edit) ‎[1,892 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Faz a leitura de uma especificada quantidade de bytes de um determinado arquivo, começando em sua posição atual de leitura/gravação, e retorna o valor como uma ''string''. ==Sintaxe== <syntaxhighlight lang="lua"> string fileRead ( file theFile, int count ) </syntaxhighlight> {{PT-BR/POO||file:read}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que deseja fazer a leitura. Use fileOpen p...")
  • 19:25, 20 December 2023PT-BR/fileOpen (hist | edit) ‎[4,414 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Abre um arquivo existente para leitura e gravação. {{BR/Nota|Para prevenir perdas de memórias, garanta que cada execução bem sucedida de fileOpen tenha um fileClose para fechar o arquivo aberto.}} {{BR/Tip|As funções que manipulam arquivos não devem ser utilizadas para implementar arquivos de configuração. É recomendado usar as Shared_Scripting_Functions#XML_functions|funções XM...")
  • 19:04, 20 December 2023PT-BR/fileIsEOF (hist | edit) ‎[1,816 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Verifica se a posição atual no arquivo está no fim dele. {{BR/Nota|Devido às restrições subjacentes da API C, esta função pode retornar '''false''' até que seja feita uma tentativa de leitura além do final do arquivo.}} ==Sintaxe== <syntaxhighlight lang="lua"> bool fileIsEOF ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:isEOF|eof}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que você quer...")
  • 18:55, 20 December 2023PT-BR/fileGetSize (hist | edit) ‎[1,161 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Retorna o tamanho total (em bytes) de determinado arquivo. ==Sintaxe== <syntaxhighlight lang="lua"> int fileGetSize ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:getSize|size}} ===Argumentos necessários=== *'''theFile:''' o '''arquivo''' que você deseja obter o tamanho total. ===Retorno=== Retorna o tamanho do arquivo se tiver sido executado com sucesso, ou '''false''' se tiver ocorrido algum erro (ex.: um '''arqui...")
  • 18:51, 20 December 2023PT-BR/fileGetPos (hist | edit) ‎[1,429 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Retorna a posição atual na leitura/gravação de um determinado arquivo. ==Sintaxe== <syntaxhighlight lang="lua"> int fileGetPos ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:getPos|pos|PT-BR/fileSetPos}} ===Argumentos necessários=== *'''theFile:''' o '''arquivo''' que você deseja obter a posição. ===Retorna=== Retorna a posição do arquivo, ou ''false'' se tiver ocorrido algum erro (ex.: um '''arquivo''' inv...")
  • 18:43, 20 December 2023PT-BR/fileGetPath (hist | edit) ‎[1,069 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} {{PT-BR/New feature/item|3.0153|1.5.3|7446| Esta função retorna o caminho de um determinado arquivo. }} ==Sintaxe== <syntaxhighlight lang="lua"> string fileGetPath ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:getPath|path}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que você quer obter o caminho. ===Retorno=== Retorna uma ''string'' representando o caminho do arquivo, ''false'' se um arquivo inv...")
  • 18:30, 20 December 2023PT-BR/fileGetContents (hist | edit) ‎[1,977 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} {{PT-BR/Added feature/item|1.6.1|1.6.0|21938| Faz a leitura de todo o conteúdo do arquivo, opcionalmente verifica o arquivo lido calculando e comparando a soma de verificação com o que é esperado, e retorna o conteúdo em formato de ''string''. A posição do cursor (caret) do arquivo não é modificada pelas execuções dessa função. }} Por favor note que sempre que você habilitar SD #22 e #23 no seu servidor, você não es...")
  • 18:14, 20 December 2023PT-BR/fileFlush (hist | edit) ‎[1,590 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Força a execução de gravações pendentes no disco. fileWrite não grava diretamente no disco, mas coloca os dados em um buffer temporário; só quando existe dados o suficiente nesse buffer é que as informações são gravadas no disco. Execute essa função se você precisar que os dados sejam gravados no instante em que chamar, sem precisar fechar o arquivo que estiver aberto com as gravações pendentes....")
  • 17:59, 20 December 2023PT-BR/fileExists (hist | edit) ‎[2,937 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Esta função verifica se um determinado arquivo existe em um resource. ==Sintaxe== <syntaxhighlight lang="lua"> bool fileExists ( string filePath ) </syntaxhighlight> {{PT-BR/POO|Esta é uma função estática abaixo da classe File.|File.exists}} ===Argumentos necessários=== *'''filePath:''' O caminho do arquivo a ser criado seguindo o seguinte formato: '''":resourceName/path"'''. '''resourceName''' é o nome do...")
  • 17:45, 20 December 2023PT-BR/fileDelete (hist | edit) ‎[1,770 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Deleta um determinado arquivo. ==Sintaxe== <syntaxhighlight lang="lua"> bool fileDelete ( string filePath ) </syntaxhighlight> {{PT-BR/POO|Esta é uma função estática abaixo da classe File.|File.delete}} ===Argumentos necessários=== *'''filePath:''' O caminho do arquivo para deletar no seguinte formadt: '''":resourceName/path"'''. ''resourceName'' é o nome do resource do arquivo que vai estar lá, e ''path''...")
  • 17:35, 20 December 2023PT-BR/fileCopy (hist | edit) ‎[2,598 bytes]Lettify (talk | contribs) (Created page with "{{BR/Funcao compartilhada}} __NOTOC__ Esta função copia um arquivo. {{BR/Nota|As funções que manipulam arquivos não devem ser utilizadas para implementar arquivos de configuração. É recomendado usar as funções XML.}} {{BR/Tip|Se você não quiser compartilhar o conteúdo do arquivo criado com outros servidores, nomeie o caminho do arquivo com '''@''' no início. Veja a página filepath para entender melhor.}} ==...")
  • 17:24, 20 December 2023PT-BR/fileClose (hist | edit) ‎[1,263 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Fecha um '''arquivo''' obtido por fileCreate ou fileOpen. ==Sintaxe== <syntaxhighlight lang="lua"> bool fileClose ( file theFile ) </syntaxhighlight> {{PT-BR/POO||file:close}} ===Argumentos necessários=== *'''theFile:''' O '''arquivo''' que quer fechar. ===Retorno=== Retorna ''true'' se o arquivo tiver sido fechado com sucesso, ''false'' caso contrário. ==Exemplo== Este exemplo cria u...")
  • 17:13, 20 December 2023PT-BR/fileCreate (hist | edit) ‎[3,402 bytes]Lettify (talk | contribs) (Created page with "__NOTOC__ {{BR/Funcao compartilhada}} Cria um novo arquivo em um diretório do resource. Se já existir algum arquivo com o nome e caminho especificado, então haverá uma substituição para este novo arquivo vazio criado. {{BR/Nota|Para prevenir perdas de memória, certifique que está fechando o arquivo com fileClose depois de aberto e trabalhado com esse arquivo.}} {{BR/Nota|As funções que manipulam arquivos não devem ser utilizadas para implementar arquivos...")
  • 14:09, 14 December 2023Math.absin (hist | edit) ‎[2,000 bytes]Deiwn (talk | contribs) (This function returns a formula representing the just positive half of a sine wave.)
  • 12:47, 10 December 2023GetDiscordRichPresenceUserID (hist | edit) ‎[1,519 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Important Note|The function will correctly display the UserID when the user has given consent and successfully connected to the Rich Presence application.}} {{New feature/item|3.0161|1.6.0|22329| The function returns the client Discord UserID. }} ==Syntax== <syntaxhighlight lang="lua"> string getDiscordRichPresenceUserID() </syntaxhighlight> ===Returns=== It will return an ''empty string ("")'' if the user has not given consent or has...")
  • 13:51, 27 November 2023OnPlayerTriggerEventThreshold (hist | edit) ‎[1,036 bytes]LopSided (talk | contribs) (Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22311|This event is triggered when a player exceeds the maximum threshold for events via triggerServerEvent.}} ==Parameters== None ==Source== The source of this event is the player who exceeded the threshold. ===Canceling=== Canceling this event has no effect. ==Example== <syntaxhighlight lang="lua"> function start() setServerConfigSetting("player_triggered_event_inte...")
  • 21:36, 26 November 2023SCamera (hist | edit) ‎[3,598 bytes]KhaledX (talk | contribs) (Created page with "== sCamera == '''The function creates a speed camera in-game, fines speeding vehicles, and notifies the driver and take money from player based on vehicle speed. ''' == Syntax == <syntaxhighlight lang="lua"> function sCamera(modelId, x, y, z, speed, between) </syntaxhighlight> == Parameters == * modelId: The model ID of the camera object to be created. * x, y, z: The coordinates where the camera object will be placed in the game world. * speed: The speed limit tha...")
  • 14:31, 21 November 2023Fingerprint (hist | edit) ‎[2,786 bytes]Mtaowner (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ This function calculates a fingerprint unique to each computer. ==Syntax== <syntaxhighlight lang="lua"> void fingerprint ( function callback ) </syntaxhighlight> ===Required arguments=== *'''callback''': a callback function with syntax as described below ====Callback syntax==== <syntaxhighlight lang="lua"> function ( int value ) </syntaxhighlight> ==Code== <section name="Code" class="client" show="true"> <syntaxhighlight lang="lua"> func...")
  • 16:55, 15 November 2023SplitMultiple (hist | edit) ‎[1,364 bytes]Arran Fortuna (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function splits a string into a table when the specified character(s) are detected.<br/> ==Syntax== <syntaxhighlight lang="lua">table splitMultiple( string str )</syntaxhighlight> ===Required Arguments=== * '''str''': The string to split. * '''chars''': The characters to detect and split the string at. ===Returns=== Returns a table containing the pieces of the split string. ==Code== <section name="S...")
  • 02:43, 15 November 2023DgsGradientSetColor (hist | edit) ‎[912 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the color of the dgs gradient plugin. ==Syntax== <syntaxhighlight lang="lua"> bool dgsGradientSetColor( element gradShader, int colorFrom, int colorTo ) </syntaxhighlight> ===Required Arguments=== *'''gradShader:''' The dgs gradient you want to set. *'''colorFrom''': Gradient color 1. ( Left side when '''rotation''' is 0 ) *'''colorTo ''': Gradient color 2. ( Right side when '''rotation''' is 0 ) ===Returns=== Return...")
  • 22:43, 14 November 2023OnPlayerDetonateSatchels (hist | edit) ‎[809 bytes]Zangomangu (talk | contribs) (Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22293|This event is triggered every time satchels are detonated - either by a player or through detonateSatchels.}} ==Parameters== No parameters. ==Source== The source of this event is the player whose satchels are being detonated. ===Canceling=== If this event is canceled, the satchels will not detonate. ==Example== <syntaxhighlight lang="...")
  • 22:35, 14 November 2023OnPlayerProjectileCreation (hist | edit) ‎[2,039 bytes]Zangomangu (talk | contribs) (Created page with "__NOTOC__ {{Server event}} {{Added feature/item|1.6.1|1.6.0|22293|This event is triggered every time a projectile is created by a player - either through a weapon, a vehicle weapon or createProjectile.}} ==Parameters== <syntaxhighlight lang="lua"> int weaponType, float x, float y, float z, float force, element target, float rotX, float rotY, float rotZ, float velX, float velY, float velZ </syntaxhighlight> *'''weaponType:''' ID, see below {{Projectiles}} *'''x:''...")
  • 02:53, 10 November 2023EngineSetModelTXDID (hist | edit) ‎[570 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22190|This function changes the TXD ID of the given model ID.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineSetModelTXDID( int modelID, int txdID ) </syntaxhighlight> {{OOP||Engine.setModelTXDID}} ===Required Arguments=== *'''modelID:''' The ID of the model to update TXD ID. *'''txdID:''' The ID of target TXD. Use engineRequestTXD to get a new TXD ID. ===Returns=== Returns ''true'' if this fu...")
  • 11:47, 29 October 2023GetPositionInFrontOfElement (hist | edit) ‎[1,943 bytes]Bover. (talk | contribs) (Created page with "{{Useful Function}} This function returns position in provided distance away from element, including element's rotation<br> ==Syntax== <syntaxhighlight lang="lua">float, float, float getPositionInFrontOfElement( element theElement, float distance )</syntaxhighlight> ===Required Arguments=== * '''theElement''': The element you want to get position in front of. * '''distance''': Distance from an element you want to get position in. ===Returns=== Returns three ''floats'...")
  • 20:04, 24 October 2023DxDrawEditbox (hist | edit) ‎[7,362 bytes]IManGaaX (talk | contribs) (add new function)
  • 16:27, 21 October 2023EngineStreamingSetProperty (hist | edit) ‎[3,031 bytes]Dutchman101 (talk | contribs) (correct TEDERIs' mistake: moved English main page from RU/engineStreamingSetProperty to "engineStreamingSetProperty")
  • 16:20, 18 October 2023IsPedNearbyWall (hist | edit) ‎[2,377 bytes]IManGaaX (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ <lowercasetitle></lowercasetitle> This function checks if player/ped is nearby walls like buildings or objects. ==Syntax== <syntaxhighlight lang="lua">bool isPedNearbyWall( element element[player/ped] )</syntaxhighlight> ===Required Arguments=== * '''element''': the player/ped element to check. ===Returns=== * ''true'' if the player/ped is nearby a wall. * ''false'' otherwise. ==Code== <section name="Client" class="client...")
  • 12:17, 18 October 2023AclObjectGetGroups (hist | edit) ‎[966 bytes]Tracer (talk | contribs) (Created page with "__NOTOC__ {{Server function}} This function returns a table of all groups the object is in. ==Syntax== <syntaxhighlight lang="lua"> table aclObjectGetGroups ( string object ) </syntaxhighlight> ===Required Arguments=== * '''object:''' The name of the ACL entry to get groups of ===Returns=== Returns a table of all groups the object is in on success, false if something went wrong. ==Examples== This example outputs a list of all groups of the calling user <section...")
  • 06:06, 14 October 2023DxDrawModel3D (hist | edit) ‎[1,670 bytes]CrosRoad95 (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Important Note|You can not use this function to draw vehicles and ped}} {{Important Note|This function doesn't obey any streaming limits, you can draw as many models as you want}} {{Important Note|You can not render model to render target.}} This function draws a 3D model - rendered for '''one''' frame. Drawn models are indistinguishable from this one created by "createObject" function. This should be used in conjunction with onClientR...")
  • 03:28, 14 October 2023DxFade (hist | edit) ‎[3,779 bytes]LordHenry (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function allows you to fade-in or fade-out any dxDraw by gradually changing its alpha value.<br> {{Note|You can fade up to 3 values at the same time, as long as they are properly declared together on the same interpolateBetween function and on the ''dxFade'' function parameters.}} {{Note|If you need to start another fade while this function is already fading something, you will need another ''dxFade...")
  • 16:42, 12 October 2023SetDiscordRichPresenceEndTime (hist | edit) ‎[1,363 bytes]LopSided (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Important Note|To use this function, you must set up your own application setDiscordApplicationID}} {{New feature/item|3.0161|1.6.0|22270| This function sets the remaining time of Discord Rich Presence. }} ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceEndTime(int seconds) </syntaxhighlight> {{OOP||DiscordRPC:setEndTime}} ===Required arguments=== *'''seconds''': an integer representing the number of seconds...")
  • 06:37, 12 October 2023SetDiscordRichPresencePartySize (hist | edit) ‎[1,406 bytes]LopSided (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Important Note|To use this function, you must set up your own application setDiscordApplicationID}} {{Note|For the party size to be displayed, the state must be set setDiscordRichPresenceState}} {{New feature/item|3.0161|1.6.0|22270| This function sets the party size of Discord Rich Presence. }} ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresencePartySize(int size, int max) </syntaxhighlight> {{OOP||DiscordRPC...")
  • 06:35, 12 October 2023SetDiscordRichPresenceStartTime (hist | edit) ‎[1,234 bytes]LopSided (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Important Note|To use this function, you must set up your own application setDiscordApplicationID}} {{New feature/item|3.0161|1.6.0|22270| This function sets the elapsed time of Discord Rich Presence. }} ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceStartTime(int seconds) </syntaxhighlight> {{OOP||DiscordRPC:setDetails}} ===Required arguments=== *'''seconds''': an integer representing the number of seconds...")
  • 20:05, 10 October 2023SetDiscordRichPresenceButton (hist | edit) ‎[1,449 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function sets a custom button through which we can access the website on Discord. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceButton(int index, string text, string url) </syntaxhighlight> {{OOP||DiscordRPC:setButton}} ===Required arguments=== *'''index''': a int index of the button (possible 1 and 2) *'''text''': a string with title name *'''url''': a string with url name (works only with '''https://''' or...")
  • 19:58, 10 October 2023SetDiscordRichPresenceDetails (hist | edit) ‎[1,233 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function sets own details text on Rich Presence. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceDetails(string details) </syntaxhighlight> {{OOP||DiscordRPC:setDetails}} ===Required arguments=== *'''details''': a string with details name ===Returns=== Returns ''true'' if function succeeds, ''false'' if the client has disabled synchronisation. ==Example== This example prints out if the application was succes...")
  • 19:50, 10 October 2023SetDiscordRichPresenceState (hist | edit) ‎[1,113 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function sets own state text on Rich Presence. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceState(string state) </syntaxhighlight> {{OOP||DiscordRPC:setState}} ===Required arguments=== *'''state''': a string with state name ===Returns=== Returns ''true'' if function succeeds, ''false'' if the client has disabled synchronisation. ==Example== This example prints out if the application was successfully set u...")
  • 19:45, 10 October 2023SetDiscordRichPresenceSmallAsset (hist | edit) ‎[1,402 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function, you can set the small image of the application. The maximum size of Assets is ''1024x1024'', the minimum ''512x512''. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceSmallAsset(string assetImage, string text) </syntaxhighlight> {{OOP||DiscordRPC:setSmallAsset}} ===Required arguments=== *'''assetImage''': a string indicating the image you uploaded to your application's asset list. *'''text''': a strin...")
  • 19:43, 10 October 2023SetDiscordRichPresenceAsset (hist | edit) ‎[1,383 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function, you can set the main image of the application. The maximum size of Assets is ''1024x1024'', the minimum ''512x512''. ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordRichPresenceAsset(string assetImage, string text) </syntaxhighlight> {{OOP||DiscordRPC:setAsset}} ===Required arguments=== *'''assetImage''': a string indicating the image you uploaded to your application's asset list. *'''text''': a string displayed...")
  • 19:28, 10 October 2023SetDiscordApplicationID (hist | edit) ‎[1,445 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Important Note|To reset, please use resetDiscordRichPresenceData}} The function can assign your own application to use in Rich Presence. You can create own '''[https://discord.com/developers/applications here]''' ==Syntax== <syntaxhighlight lang="lua"> bool setDiscordApplicationID(string applicationKey) </syntaxhighlight> {{OOP||DiscordRPC:setApplication}} ===Required arguments=== *'''applicationKey''': a string represent key...")
  • 19:04, 10 October 2023ResetDiscordRichPresenceData (hist | edit) ‎[1,051 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function resets all the data we have previously transmitted and sets to default. ==Syntax== <syntaxhighlight lang="lua"> bool resetDiscordRichPresenceData() </syntaxhighlight> ===Returns=== Returns ''true'' if reset was successfull, ''false'' if the client has disabled synchronisation. ==Example== The example shows if you set up your own application and sample asset and then reset the data. <syntaxhighlight lang="lua"> setDiscordAp...")
  • 18:53, 10 October 2023IsDiscordRichPresenceConnected (hist | edit) ‎[1,034 bytes]Znajder (talk | contribs) (Created page with "__NOTOC__ {{Client function}} The function check the client has synchronisation with Discord Rich Presence enabled. ==Syntax== <syntaxhighlight lang="lua"> bool isDiscordRichPresenceConnected() </syntaxhighlight> {{OOP||DiscordRPC:isConnected}} ===Returns=== Returns ''true'' if the Discord Rich Presence is enabled on the client, ''false'' if the client has disabled synchronisation. ==Example== This example prints out if the client has enabled Discord Rich Prese...")
  • 05:38, 9 October 2023AR/table.flip (hist | edit) ‎[1,557 bytes]IManGaaX (talk | contribs) (Created page with "{{Useful Function}} __NOTOC__ <lowercasetitle></lowercasetitle> هذه الوظيفة تقوم بإرجاع الجدول بالقيم من اخر قيمه لاول قيمه مثل الانعكاس ==Syntax== <syntaxhighlight lang="lua">table table.flip( table theTable )</syntaxhighlight> ===Required Arguments=== * '''theTable''': الجدول الذى تريد انعكاس قيمه. ===Returns=== إرجاع الجدول بالقيم من اخر الجدول إلى ا...")
  • 04:51, 7 October 2023GetElementZoneFullName (hist | edit) ‎[1,725 bytes]IManGaaX (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function allows you to retrieve the zone full name of a element ==Syntax== <syntaxhighlight lang="lua">string getElementZoneFullName( element theElement )</syntaxhighlight> ===Required Arguments=== * '''theElement''': The element to get its full zone name ===Returns=== Returns the full name of the element zone ==Code== <section name="Shared" class="both" show="true"> <syntaxhighlight lang="lua"> fun...")
  • 16:09, 6 October 2023Debounce (hist | edit) ‎[1,202 bytes]CrosRoad95 (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function is removing unwanted input noise from buttons, switches or other user input. see: https://www.techtarget.com/whatis/definition/debouncing ==Syntax== <syntaxhighlight lang="lua"> void debounce( number timeout, function callback, ...arguments) </syntaxhighlight> ==Code== <section name="Shared" class="both" show="true"> <syntaxhighlight lang="lua"> local debounces = {} function debounce(timeou...")
  • 07:49, 6 October 2023OnPlayerZoneChange (hist | edit) ‎[2,201 bytes]IManGaaX (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This code implements an event that is triggered when the player enters a new area on the map ==Parameters== <syntaxhighlight lang="lua">string newCity, string newZone</syntaxhighlight> * newCity: New city is name. * newZone: New zone is name. ==Source== The source of this event is the player whose zone was changed <section name="Shared event" class="both" show="true"> <syntaxhighlight lang="lua"> local p...")
  • 12:02, 3 October 2023IsLastExecuteInTimer (hist | edit) ‎[1,299 bytes]IManGaaX (talk | contribs) (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function check if the execute in timer is the last execute ==Syntax== <syntaxhighlight lang="lua">bool isLastExecuteInTimer( timer theTimer )</syntaxhighlight> ===Required Arguments=== * '''theTimer''': The timer to check. ===Returns=== Returns ''true'' if the execute is the last execute in the timer, ''false'' if the execute is not the last execute in the timer <section name="Shared function" class...")
  • 08:02, 2 October 2023RO/getSoundProperties (hist | edit) ‎[1,754 bytes]Hydra (talk | contribs) (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...")
  • 07:55, 2 October 2023RO/getSoundPan (hist | edit) ‎[925 bytes]Hydra (talk | contribs) (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...")
  • 07:47, 2 October 2023RO/getSoundFFTData (hist | edit) ‎[2,683 bytes]Hydra (talk | contribs) (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â...")
  • 07:12, 1 October 2023Table.flip (hist | edit) ‎[1,436 bytes]IManGaaX (talk | contribs) (Created page with "==Syntax== <syntaxhighlight lang="lua">string table.flip( table )</syntaxhighlight> ===Required Arguments=== * '''tbl''': The table to convert. ===Returns=== Returns table with flip values <section name="Shared function" class="both" show="true"> <syntaxhighlight lang="lua"> function table.flip(theTable) if (type(theTable) == "table") then local newTable = {} local tableNumber = -1 for i = 1, #theTable do tableNumber = tableNumber + 1 table.insert(newTabl...")
  • 17:32, 23 September 2023ProcessLineAgainstMesh (hist | edit) ‎[2,113 bytes]Pirulax (talk | contribs) (Create the page. Needs an example!)
  • 08:11, 21 September 2023SetCursorCenteredOnRectangle (hist | edit) ‎[1,286 bytes]Hydra (talk | contribs) (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...")
  • 15:00, 6 September 2023EngineResetModelTXDID (hist | edit) ‎[545 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22190|This function restores the original TXD ID of the given model ID. Reverses the effect of EngineSetModelTXDID.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineResetModelTXDID( int modelID ) </syntaxhighlight> {{OOP||Engine.resetModelTXDID}} ===Required Arguments=== *'''modelID:''' The ID of the model to restore the model of ===Returns=== Returns ''true'' if this function succeeds, throw a...")
  • 18:26, 3 September 2023EngineFreeTXD (hist | edit) ‎[674 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22190|This function is used to un-assign the specified TXD ID from the engineRequestTXD assignment.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineFreeTXD ( int txdID ) </syntaxhighlight> ===Required Arguments=== *'''txdID''': the TXD ID you want to have un-assigned. ===Returns=== Returns ''true'' if the TXD was successfully freed, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> -- T...")
  • 17:04, 3 September 2023EngineRequestTXD (hist | edit) ‎[1,266 bytes]TheNormalnij (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|22190|This function is used to register the next available TXD ID.}} ==Syntax== <syntaxhighlight lang="lua"> int engineRequestTXD ( string name ) </syntaxhighlight> ===Required Arguments=== *'''name''': TXD name string up to 24 characters. ===Returns=== {{New feature/item|3.0160|1.6.0|22190| Returns an ''integer'' of the TXD ID that was available to be assigned to game models, ''false'' if no free TXD ID avai...")
  • 03:00, 3 September 2023DgsCircleGetColor (hist | edit) ‎[892 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the color of the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> int dgsCircleGetColor( element circle ) </syntaxhighlight> ===Required Arguments=== *'''rndRect:''' A dgs circle element. ===Returns=== Returns an ''int'' value of the color if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs function fromcolor(int) --from color local...")
  • 02:59, 3 September 2023DgsCircleSetColor (hist | edit) ‎[709 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the color of the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetColor( element circle, int color ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin that you want to change. *'''color:''' An int of the color of the dgs circle. ===Returns=== Returns ''true'' if successful, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get expor...")
  • 02:56, 3 September 2023DgsCircleGetTextureRotation (hist | edit) ‎[798 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the texture rotation from the dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float, float, float dgsCircleGetTextureRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle''': A dgs-dxcircle plugin. ===Returns=== Returns 3 ''floats'' indicates '''rotation degree''', '''rotation center x''' and '''rotation center y''' if successful, ''false'' otherwise. ==Example== <syntaxhighlight la...")
  • 02:52, 3 September 2023DgsCircleGetDirection (hist | edit) ‎[698 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the direction from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleGetDirection( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''bool'' indicates if dgs circle is anti-clockwise or clockwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5,0....")
  • 02:51, 3 September 2023DgsCircleSetDirection (hist | edit) ‎[964 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the direction of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetDirection( element circle, bool direction ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''direction : ''' A bool indicates if dgs circle is anti-clockwise or clockwise. **''true:'' anti-clockwise **''false:'' clockwise ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Exa...")
  • 02:31, 3 September 2023DgsCircleSetAngle (hist | edit) ‎[644 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the angle of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetAngle( element circle, float rotation ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''angle: ''' A float of the angle in degrees. ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs loc...")
  • 02:29, 3 September 2023DgsCircleGetRotation (hist | edit) ‎[698 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the rotation from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float dgsCircleGetRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''float'' indicates the rotation of dgs circle, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5...")
  • 02:28, 3 September 2023DgsCircleGetAngle (hist | edit) ‎[655 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function gets the rotation from dgs circle. ==Syntax== <syntaxhighlight lang="lua"> float dgsCircleGetRotation( element circle ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. ===Returns=== Returns a ''float'' indicates the rotation of dgs circle, ''false'' otherwise. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions from dgs local c = DGS:dgsCreateCircle(0.5...")
  • 02:27, 3 September 2023DgsCircleSetRotation (hist | edit) ‎[687 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} This function sets the rotation of dgs circle. ==Syntax== <syntaxhighlight lang="lua"> bool dgsCircleSetRotation( element circle, float rotation ) </syntaxhighlight> ===Required Arguments=== *'''circle:''' A dgs-dxcircle plugin. *'''rotation : ''' A float of the rotation in degrees. ===Returns=== Returns a ''true'' if successful, ''false'' otherwise ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs --get exported functions...")
  • 21:15, 2 September 2023Client manual (hist | edit) ‎[27 bytes]Tracer (talk | contribs) (Redirected page to Client Manual) Tag: New redirect
  • 21:15, 2 September 2023Server manual (hist | edit) ‎[27 bytes]Tracer (talk | contribs) (Redirected page to Server Manual) Tag: New redirect
  • 02:42, 30 August 2023GetColorFilter (hist | edit) ‎[3,498 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{Added feature/item|3.0161|1.6.0|22188|This function is used to get the values of color filtering.}} {{Tip|Normally the game is adding these colors to a screen to simulate weather effects. Sometimes it can be important to disable these effects. You can get rid of the effects by calling setColorFilter with zero values.}} ==Syntax== <syntaxhighlight lang="lua"> int, int, int, int, int, int, int, int getColorFilter ( bool isOriginal )...")
  • 23:32, 25 August 2023EngineStreamingGetBufferSize (hist | edit) ‎[1,166 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21874|Get the streaming buffer size ['''not''' maximum memory size]}} ==Syntax== <syntaxhighlight lang="lua"> number engineStreamingGetBufferSize() </syntaxhighlight> {{OOP||EngineStreaming:setBufferSize|bufferSize|engineStreamingGetBufferSize}} ===Returns=== The streaming buffer size. It is always a positive non-zero number. ==Example== This example adds a command that can be used to change the streamin...")
  • 23:30, 25 August 2023EngineStreamingSetBufferSize (hist | edit) ‎[1,663 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21874|Get the streaming buffer size. The larger it is, the more models can be loaded in one go BUT increases the RAM ['''not''' streaming memory!] usage. Can help with custom IMG loading speed by reducing pop-in.}} {{Important Note|'''This function is meant for advanced users only, as it can lead to stability issues'''. Using a very high value might result in more crashes, while using a value too low might le...")
  • 23:19, 25 August 2023EngineStreamingRestoreMemorySize (hist | edit) ‎[1,032 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21874|Restores the maximum amount of RAM [in bytes] that can be used for streaming to the default value}} {{Tip|The function to manipulate the memory size is engineStreamingSetMemorySize}} ==Syntax== <syntaxhighlight lang="lua"> nil engineStreamingSetMemorySize() </syntaxhighlight> {{OOP||EngineStreaming:restoreMemorySize||}} ==Example== This example adds a command that can be used to change the stre...")
  • 23:08, 25 August 2023EngineStreamingGetMemorySize (hist | edit) ‎[1,293 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21946|Gets the maximum amount of RAM [in bytes] that can be used for streaming}} ==Syntax== <syntaxhighlight lang="lua"> number engineStreamingGetMemorySize() </syntaxhighlight> {{OOP||EngineStreaming:getMemorySize|memorySize|engineStreamingSetMemorySize}} ==Returns== The maximum amount of RAM [in bytes] that can be used for streaming. It is always a non-zero positive number. ==Example== This example add...")
  • 23:02, 25 August 2023EngineStreamingSetMemorySize (hist | edit) ‎[1,684 bytes]Pirulax (talk | contribs) (Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0160|1.6.0|21946|Sets the maximum amount of [in bytes] that can be used for streaming}} {{Tip|To restore to the default value use engineStreamingRestoreMemorySize}} {{Important Note|**This function is meant for advanced users only, as it can lead to stability issues**. Using a very high value might result in more crashes, while using a value too low might lead to frequent pop-in [and due to the way MTA works micro-st...")
  • 22:50, 25 August 2023EngineStreaming (hist | edit) ‎[98 bytes]Pirulax (talk | contribs) (Created page with "Static class used for manipulating the GTA:SA streaming engine.")
  • 00:30, 19 August 2023PT-BR/Introdução OOP (hist | edit) ‎[9,679 bytes]Sousateew (talk | contribs) (Created page with "{{Nota|Se você contribuiu editando e ajustando esta página do fórum, se você se beneficiou deste tutorial ou se você tem algo a dizer; por favor, me dê um feedback no link do fórum fornecido abaixo.}} Este é um tutorial de script que explica o que é programação orientada a objetos e ensina como usar os recursos de OOP (Programação Orientada a Objetos) do MTA. Isso foi originalmente criado por qaisjp (discussão)...")
  • 00:05, 18 August 2023DxDrawDiamond (hist | edit) ‎[1,316 bytes]Sousateew (talk | contribs) (Create (eS/dxDrawRombo by ClawSuit))
  • 11:40, 15 August 2023DgsComboBoxSetItemBackGroundColor (hist | edit) ‎[1,122 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function sets the background color of a specific item of the combo box. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxSetItemBackGroundColor( element comboBox, int itemIndex, texture imageDefault, texture imageHoving, texture imageSelected ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. *'''colorDefault:''' An integer of the colo...")
  • 11:37, 15 August 2023DgsComboBoxGetItemBackGroundColor (hist | edit) ‎[940 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function gets the background color of a specific item of the combo box. ==Syntax== <syntaxhighlight lang="lua"> int, int, int dgsComboBoxGetRowBackGroundColor( element comboBox, int itemIndex ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. ===Returns=== Returns 3 integers if exist are '''colorDefault''', '''colorHoving''', '''colorSelecte...")
  • 11:34, 15 August 2023DgsComboBoxGetItemBackGroundImage (hist | edit) ‎[1,071 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function gets the background texture of a specific item of the combo box. ==Syntax== <syntaxhighlight lang="lua"> texture/nil, texture/nil, texture/nil dgsComboBoxGetItemBackGroundImage( element comboBox, int itemIndex ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. ===Returns=== Returns 3 textures if exist are '''imageDefault''', '''imag...")
  • 11:31, 15 August 2023DgsComboBoxSetItemBackGroundImage (hist | edit) ‎[1,164 bytes]Thisdp (talk | contribs) (Created page with "{{Client function}} This function sets the row background texture of the combo box. ==Syntax== <syntaxhighlight lang="lua"> bool dgsComboBoxSetRowBackGroundImage( element comboBox, int itemIndex, texture imageDefault, texture imageHoving, texture imageSelected ) </syntaxhighlight> ===Required Arguments=== *'''comboBox:''' the combo box that you want to operate. *'''itemIndex:''' An integer of the item index. *'''imageDefault:''' An integer of the image of the item...")
  • 17:05, 12 August 2023DxGetLibrary (hist | edit) ‎[669 bytes]ClawSuit (talk | contribs) (Created page with "__NOTOC__ {{Client Function}} Esta funcion extrae los diferentes exports de la libreria en forma de variables para hacer el uso de la libreria mas facil para ello debe de complementarse con '''<span style="color:#00ff00; text-shadow:black 0em 0.1em 0.1em;">loadstring</span>'''. <small>'''<span style="color:#ff0000; text-shadow:black 0em 0.1em 0.1em;">''Aviso: Esta es una función exportada por Modern-Library!''</span>'''</small> ==Sintaxis== <syntaxhighlight lang="l...")
  • 07:40, 12 August 2023DgsCreateMenu (hist | edit) ‎[2,731 bytes]Thisdp (talk | contribs) (Created page with "__NOTOC__ {{Client function}} frame|Example DGS Menu. This function is for creating a DGS menu. DGS menu is '''invisible''' by default. To show menu, use dgsMenuShow. ==Syntax== <syntaxhighlight lang="lua"> element dgsCreateMenu( float x, float y, float width, float height, bool relative [, element parent = nil ] ) </syntaxhighlight> ===Required Arguments=== *'''x:''' A float of the 2D x position of the DGS menu on a player's screen. This i...")
  • 07:35, 12 August 2023OnDgsMenuHover (hist | edit) ‎[1,765 bytes]Thisdp (talk | contribs) (Created page with "{{Client event}} __NOTOC__ This event is fired when cursor enters an item of a DGS menu. ==Parameters== <syntaxhighlight lang="lua"> dgs-dxmenu subMenu, integer itemUniqueIndex </syntaxhighlight> * '''subMenu''': The sub dgs-dxmenu that the item in. * '''itemUniqueIndex''': The item id. ==Source== The source of this event is the root dgs menu element. ==Example== <syntaxhighlight lang="lua"> DGS = exports.dgs local menu = DGS:dgsCreat...")
(newest | oldest) View (newer 100 | ) (20 | 50 | 100 | 250 | 500)