New pages
Jump to navigation
Jump to search
- 15:04, 28 March 2024 PL/Server Commands (hist | edit) [6,988 bytes] FileEX (talk | contribs) (Tłumaczenie)
- 19:03, 27 March 2024 PL/Command fakelag (hist | edit) [1,683 bytes] FileEX (talk | contribs) (Tłumaczenie)
- 18:41, 27 March 2024 PL/Client Commands (hist | edit) [5,378 bytes] FileEX (talk | contribs) (Tłumaczenie)
- 17:37, 25 March 2024 PL/Roller Coaster Generator (hist | edit) [4,375 bytes] FileEX (talk | contribs) (Tłumaczenie) originally created as "PLRoller Coaster Generator"
- 12:01, 25 March 2024 PL/Resource:Editor/Plugins (hist | edit) [3,423 bytes] FileEX (talk | contribs) (Tłumaczenie)
- 14:32, 23 March 2024 GTA Crash Codes (hist | edit) [11,776 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 2024 FixPersianString (hist | edit) [2,647 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 2024 DgsEditAutoCompleteAddParameterFunction (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 2024 GetBanBySerial (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 2024 Explosion 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 2024 EngineStreamingSetModelCacheLimits (hist | edit) [5 bytes] Nurupo (talk | contribs) (Created page with "To do")
- 05:38, 23 December 2023 OnPlayerMoneyChange (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 2023 Commands (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 2023 SetVehicleRotorSpeed (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 2023 GetVehicleRotorSpeed (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 2023 PT-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 2023 PT-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 2023 PT-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 2023 PT-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 2023 PT-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...")