User contributions for Lettify

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 500 | ) (20 | 50 | 100 | 250 | 500)

23 December 2023

20 December 2023

  • 20:1520:15, 20 December 2023 diff hist +20 m FileWritePortuguese version indexed current
  • 20:1520:15, 20 December 2023 diff hist +2,190 N PT-BR/fileWriteCreated 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..." current
  • 20:0320:03, 20 December 2023 diff hist +77 m FileSetPosPortuguese version indexed current
  • 20:0320:03, 20 December 2023 diff hist +1,588 N PT-BR/fileSetPosCreated 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..." current
  • 19:5119:51, 20 December 2023 diff hist +21 m FileRenamePortuguese version indexed current
  • 19:5019:50, 20 December 2023 diff hist +1,889 N PT-BR/fileRenameCreated 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..." current
  • 19:4619:46, 20 December 2023 diff hist +18 m Template:BR/NotaNo edit summary current
  • 19:4619:46, 20 December 2023 diff hist +1 m Template:PT-BR/MessageBoxNo edit summary current
  • 19:3719:37, 20 December 2023 diff hist +19 m FileReadPortuguese version indexed current
  • 19:3719:37, 20 December 2023 diff hist +1,892 N PT-BR/fileReadCreated 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..." current
  • 19:2519:25, 20 December 2023 diff hist +19 m FileOpenPortuguese version indexed current
  • 19:2519:25, 20 December 2023 diff hist +4,414 N PT-BR/fileOpenCreated 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..." current
  • 19:0419:04, 20 December 2023 diff hist +20 m FileIsEOFPortuguese version indexed current
  • 19:0419:04, 20 December 2023 diff hist +1,816 N PT-BR/fileIsEOFCreated 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..." current
  • 18:5518:55, 20 December 2023 diff hist +78 m FileGetSizePortuguese version indexed current
  • 18:5518:55, 20 December 2023 diff hist +1,161 N PT-BR/fileGetSizeCreated 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..." current
  • 18:5118:51, 20 December 2023 diff hist +77 m FileGetPosPortuguese version indexed current
  • 18:5118:51, 20 December 2023 diff hist +1,429 N PT-BR/fileGetPosCreated 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..." current
  • 18:4318:43, 20 December 2023 diff hist +22 m FileGetPathPortuguese version indexed current
  • 18:4318:43, 20 December 2023 diff hist +1,069 N PT-BR/fileGetPathCreated 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..." current
  • 18:3018:30, 20 December 2023 diff hist +26 m FileGetContentsPortuguese version indexed current
  • 18:3018:30, 20 December 2023 diff hist +1,977 N PT-BR/fileGetContentsCreated 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..." current
  • 18:1718:17, 20 December 2023 diff hist +1,670 N Template:PT-BR/Added feature/itemCreated page with "<includeonly>{{#ifexpr: ({{{1|}}}) = {{Next Stable Version}} and ({{{2|}}}) = {{Current Stable Version}} |<div style='border: 2px solid #1b2027; border-radius: 10px; margin: 14px 0; overflow: hidden'><div style='background: #1b2027; color: #fff; font-weight: bold; padding: 4px 8px'><span style="color: #fff; text-decoration: underline">BETA</span>: NOVO RECURSO (BUILD: {{{2}}} {{r|{{{3}}}}})</div><div style='padding: 4px 8px'>{{{4}}}</div></div> |{{#ifex..." current
  • 18:1418:14, 20 December 2023 diff hist +76 m FileFlushPortuguese version indexed current
  • 18:1418:14, 20 December 2023 diff hist +1,590 N PT-BR/fileFlushCreated 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...." current
  • 17:5917:59, 20 December 2023 diff hist +21 m FileExistsPortuguese version indexed current
  • 17:5917:59, 20 December 2023 diff hist +2,937 N PT-BR/fileExistsCreated 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..." current
  • 17:4517:45, 20 December 2023 diff hist +21 m FileDeletePortuguese version indexed current
  • 17:4517:45, 20 December 2023 diff hist +1,770 N PT-BR/fileDeleteCreated 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''..." current
  • 17:3517:35, 20 December 2023 diff hist +2,598 N PT-BR/fileCopyCreated 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.}} ==..." current
  • 17:3517:35, 20 December 2023 diff hist +103 m FileCopyPortuguese version indexed current
  • 17:2617:26, 20 December 2023 diff hist 0 m PT-BR/fileCreateNo edit summary current
  • 17:2617:26, 20 December 2023 diff hist 0 m PT-BR/fileCreateNo edit summary
  • 17:2417:24, 20 December 2023 diff hist +20 m FileCloseNo edit summary current
  • 17:2417:24, 20 December 2023 diff hist +1,263 N PT-BR/fileCloseCreated 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..." current
  • 17:2317:23, 20 December 2023 diff hist +252 m Template:PT-BR/File functionsNo edit summary current
  • 17:2217:22, 20 December 2023 diff hist +65 m PT-BR/fileCreateNo edit summary
  • 17:1517:15, 20 December 2023 diff hist +21 m FileCreateindexing translated page current
  • 17:1317:13, 20 December 2023 diff hist +3,337 N PT-BR/fileCreateCreated 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..."
  • 17:1317:13, 20 December 2023 diff hist +546 N Template:PT-BR/File functionsCreated page with "<ul> <li>fileClose</li> <li>fileCopy</li> <li>fileCreate</li> <li>fileDelete</li> <li>fileExists</li> <li>fileFlush</li> {{PT-BR/New items|3.0161|1.6.0| <li>fileGetContents</li> |21938}} {{PT-BR/New items|3.0153|1.5.3| <li>fileGetPath</li> |7446}} <li>fileGetPos</li> <li>fileGetSize</li> <li>fileIsEOF</li> <li>fileOpen</li> <li>fileRead</li> <li>fileRename</li> <li>fileSetPos</li> <li>fileWrit..."
  • 16:4316:43, 20 December 2023 diff hist +12 m Template:PT-BR/New feature/itemNo edit summary current
  • 16:4216:42, 20 December 2023 diff hist −36 m Template:PT-BR/New feature/itemNo edit summary
  • 16:3416:34, 20 December 2023 diff hist +13 m Template:New feature/itemNo edit summary current
  • 16:2316:23, 20 December 2023 diff hist +163 N Template:BR/TipCreated page with "{{PT-BR/MessageBox| bordercolorhex = 98fb98 | bgcolorhex = ceffd3 | image = File:tip-ptbr.png| imageSize = 24px| message = '''Dica:''' {{{1}}} | }}" current
  • 16:2216:22, 20 December 2023 diff hist +68 m Template:PT-BR/MessageBoxNo edit summary
  • 16:1716:17, 20 December 2023 diff hist 0 N File:Tip-ptbr.pngNo edit summary current

28 November 2023

26 November 2023

14 June 2023

3 June 2023

5 December 2022

12 September 2022

23 August 2022

12 June 2022

21 May 2022

  • 20:3120:31, 21 May 2022 diff hist +23 m PasswordHashindexed page with portuguese version current
  • 20:2920:29, 21 May 2022 diff hist +5,124 N PT-BR/passwordHashCreated page with "__NOTOC__ {{BR/Funcao compartilhada}} {{BR/Nota|Using '''passwordHash''' é o meio recomendado para guardar senhas.}} {{PT-BR/New feature/item|3.0154|1.5.4|11277| Esta função cria um hash a partir de uma senha especificada (basicamente, a senha criptografada) usando um algorítmo específico de hashing. }} {{BR/Warning|É altamente recomendado usar a versão assíncrona desta função (especificando a função callback). Por outro lado, você pode sofrer algumas trava..." current

22 February 2022

20 February 2022

16 February 2022

15 February 2022

12 February 2022

6 February 2022

  • 22:3422:34, 6 February 2022 diff hist +1,907 N DgsCreateChartCreated page with "__NOTOC__ {{Client function}} {{Needs Example|dgsCreateChart}} This function creates a data chart. ==Syntax== <syntaxhighlight lang="lua"> element dgsCreateChart ( float x, float y, float width, float height, string chartType, bool relative [, element parent = nil ] ) </syntaxhighlight> ===Required Arguments=== 400px|thumb|Chart Example. *'''x:''' A float of the 2D x position of the chart on a player's screen. This is affected by the ''rel..."
  • 22:2722:27, 6 February 2022 diff hist 0 N File:Chart example.pngNo edit summary current

31 January 2022

14 November 2021

6 November 2021

23 October 2021

19 October 2021

12 October 2021

26 September 2021

20 September 2021

13 September 2021

12 September 2021

3 September 2021

19 August 2021

5 August 2021

4 August 2021

23 June 2021

31 May 2021

6 May 2021

5 May 2021

4 May 2021

3 May 2021

30 April 2021

29 April 2021

28 April 2021

27 April 2021

21 April 2021

20 April 2021

19 April 2021

16 April 2021

15 April 2021

14 April 2021

13 April 2021

11 April 2021

10 April 2021

19 February 2021

14 February 2021

13 February 2021

21 January 2021

30 December 2020

29 December 2020

28 December 2020

20 December 2020

14 December 2020

12 October 2020

6 October 2020

31 August 2020

30 August 2020

29 August 2020

  • 22:3722:37, 29 August 2020 diff hist +934 N PT-BR/TableCreated page with "Uma tabela é um tipo de armazenamento de dados semelhante a um array. Eles são usados principalmente para grandes armazenamentos de dados. As tabelas podem ser indexadas nã..."

20 August 2020

21 July 2020

26 June 2020

21 June 2020

14 June 2020

13 June 2020

7 June 2020

24 May 2020

21 May 2020

20 May 2020

18 May 2020

16 May 2020

15 May 2020

1 May 2020

25 April 2020

14 April 2020

5 April 2020

3 April 2020

  • 20:4420:44, 3 April 2020 diff hist +16 m PT-BR/CreateVehicleCorreção do que a função pode retornar
  • 19:0619:06, 3 April 2020 diff hist +9,733 N PT-BR/CreateVehicleCreated page with "__NOTOC__ {{BR/Funcao compartilhada}}{{BR/Nota|Os veículos (e outros elementos) criados em client-side são vistos somente pelo cliente que os criaram, não são sincronizado..."
  • 18:3818:38, 3 April 2020 diff hist +21,343 N IDs de veiculosCreated page with "==Introdução== Esta é uma lista de ID's de veículos do GTA:SA, conforme listado no arquivo vehicles.ide. Esses números de identificação do veículo são usados para vá..." current

31 March 2020

27 March 2020

25 March 2020

20 March 2020

18 March 2020

15 March 2020

14 March 2020

(newest | oldest) View (newer 500 | ) (20 | 50 | 100 | 250 | 500)