Search results

Jump to navigation Jump to search
  • ==Creating a working script== We will first learn how to make a basic script that lets the player walk around in the city, step by step.
    22 KB (3,459 words) - 12:38, 17 May 2024
  • <script src="script.lua" /> The ''<script />'' tag indicates the script files contained in the resource, which we will create next.
    22 KB (3,205 words) - 05:39, 11 November 2013
  • All functions used in the binds system use either '''control names''' or '''key names'''. This is the first, and perhaps the most straightforward set of functions to be implemented. These are similar to get/setControlState, with a few ke
    6 KB (976 words) - 18:48, 10 September 2016
  • ...fr/Debugage|Tutoriel: Le débugage]] - Comment trouver les erreurs dans son script ...ory:Resource|Catalogue des ressources]] - Vous devez le lire pour faire un script appropriés
    5 KB (743 words) - 04:50, 10 February 2012
  • ...n while playing a map. The object can be from the map file or created in a script. {{Object functions}}
    2 KB (240 words) - 16:17, 13 February 2015
  • ...The server can only return the water color, if it has actually been set by script. {{Client water functions}}
    2 KB (280 words) - 15:02, 7 August 2016
  • ...a performance overhead - they are not equivalent in performance to calling functions in the same resource.}} <info author="jbeta" type="script" description="Scoreboard resource" />
    6 KB (745 words) - 15:25, 16 December 2023
  • ...each race, instead of having all of them in the same resource as the main script, they can be stored in separate resources and then loaded simply with the " ...ontains the spawnpoint data for the players, and load the data in the main script when the player needs to spawn.
    9 KB (1,213 words) - 09:38, 7 March 2015
  • <script src="script.lua" />
    22 KB (618 words) - 06:22, 2 May 2020
  • ** '''type:''' The type of this resource, that can be "gamemode", "script", "map" or "misc". *'''<script />''' Source code for this resource, possible parameters are:
    11 KB (1,648 words) - 10:43, 31 October 2023
  • This script notifies when its resource has been loaded using a debug message: {{Server functions}}
    2 KB (245 words) - 08:22, 4 November 2020
  • ...e and [https://community.multitheftauto.com/ publish] a gamemode or useful script * Make a general purpose resource that provides useful functions to other resources.
    4 KB (568 words) - 19:05, 31 March 2024
  • This function allows you to call functions that have been exported with HTTP access by other MTA servers. The calls ar ...setting of 10 connection attempts means it will be 60 seconds before your script gets a callback about the error. Reducing this value to 2 for example, will
    7 KB (1,033 words) - 18:07, 26 December 2017
  • ...eatures a built-in debug console that shows debug messages output from MTA functions or from scripts. Keeping it mind that you should have administrator access When the script this piece of code is in is tried to be loaded, debugscript will output som
    18 KB (2,760 words) - 16:40, 15 April 2017
  • '''Gamemode/Script integration:''' This script provides several functions and events to allow other resources to see and control what the bot's are d
    9 KB (1,377 words) - 15:37, 7 August 2021
  • ...eatures a built-in debug console that shows debug messages output from MTA functions or from scripts. Keeping it mind that you should have administrator access When the script this piece of code is in is tried to be loaded, debugscript will output som
    18 KB (2,815 words) - 08:56, 4 July 2022
  • ...be used to implement configuration files. It is encouraged to use the XML functions for this instead.}} ...h=&Revision=10413 r10413], this function will fail when trying to access a script file of another resource, even with ''general.ModifyOtherObjects'' rights g
    4 KB (555 words) - 19:25, 20 December 2023
  • This client-side script gives vehicles a nitro upgrade whenever they pass through a certain collisi {{Vehicle functions}}
    3 KB (340 words) - 21:24, 19 March 2021
  • A Race 'addon' is no different from any other script resource, except that is has addon="race" in the <info> section of it's met '''Note:''' You may have to add the events in your script using addEvent() if you want to use them.
    10 KB (1,343 words) - 11:38, 5 November 2018
  • ...or by accident). So basically, again, do not rely on serials for critical functions on your server. Even more so, it's not guaranteed that serials cannot be co ...s due to duplicated serials from netcafe players, you could make a special script to alternate for those players or eventually put SD #34 in your mtaserver.c
    4 KB (649 words) - 10:19, 24 June 2023
  • *'''Function''' entries are MTA scripting functions. For example, if a resource needed to use restartResource and was only in t ...oup created by the admin resource but it works on the same principles. The script works with them by using [[hasObjectPermissionTo]]''
    4 KB (582 words) - 15:08, 11 June 2023
  • ...colshape as child elements. These are the elements that are created by the script, for example, the marker, the colshape and one of the blips are probably us ...memode. The dynamic map is empty (it could contain elements if there was a script in it though), while there is a map called 'as-farm.map', that contains a n
    7 KB (1,039 words) - 08:12, 24 October 2022
  • ...is very basic and easy to use. It was mainly created to extend [[MTASE|MTA:Script Editor]] functionality. Feel free to modify it however you like but don't r
    3 KB (413 words) - 19:58, 6 November 2022
  • ...edit.sourceforge.net/ LuaEdit] aan. Er is ook een onofficiële [[MTASE|MTA Script Editor]] (nog niet klaar) dat je uit kan proberen.''' ==Het maken van een werkende script==
    21 KB (3,450 words) - 03:43, 10 March 2013
  • This script spawns a Rhino on top of one lucky individual. This script spawns a Rhino on top of the local player.
    8 KB (656 words) - 15:10, 11 September 2021
  • :{{Debug error|Loading script failed: myResource\script.lua:2: 'then' expected near ´outputChatbox'}} :{{Debug error|(翻译)加载脚本失败: myResource\script.lua:2: 在 ´outputChatbox' 附近预期出现 'then' }}
    18 KB (2,477 words) - 20:36, 21 February 2021
  • ...iniciar o mapa e carregar automaticamente os modelos customizados, pois no script dele já contém as instruções para isso. == Functions ==
    3 KB (503 words) - 00:03, 7 March 2020
  • * [[Debugging|Debugging Tutorial]] - Hoe fouten te vinden in je script * [[Client Scripting Functions|Client-side functies]]
    5 KB (700 words) - 16:39, 23 January 2022
  • ...net/ LuaEdit]. Aik aur unofficial mta sa script editor bhi hai [[MTASE|MTA Script Editor]].}} ==Aik Working Script Ko Banana==
    22 KB (3,653 words) - 06:13, 25 October 2014
  • ...though note that the weapon wouldn't be synced between clients unless your script gives the weapon to the ped on every client. {{Client ped functions}}
    2 KB (345 words) - 01:18, 28 December 2014
  • <h3>Script Yazımı</h3> ** [[:Category:Resource|Bitmiş/hazır(Resource) script kataloğu]]
    9 KB (1,261 words) - 22:23, 3 May 2023
  • ...r '''faked'''). See: [https://wiki.multitheftauto.com/wiki/Script_security Script security].}} {{Player functions}}
    4 KB (445 words) - 16:15, 2 February 2024
  • ** '''type:''' A resource típusa, ami lehet "gamemode", "script", "map" vagy "misc". *'''<script />''' Script fájl ehhez a resource-hoz, a lehetséges paraméterek:
    9 KB (1,382 words) - 20:22, 21 February 2021
  • path, -- scan anywhere the script wants us to {{:MTA:Eir/FileSystem/translator/functions}}
    3 KB (390 words) - 23:28, 16 January 2022
  • '''Example 1:''' This example will make a script compatible only with version 1.0: {{Server functions}}
    3 KB (452 words) - 19:13, 14 January 2022
  • '''2.''' Conceder permissão a recursos para usar funções de script e de outros recursos. * Permitir um recurso utilizar funções exportadas por um script a partir do [[call]].
    9 KB (1,448 words) - 01:16, 3 January 2022
  • ...used by the console commands ''bind'' and ''unbind'' as well as the script functions [[bindKey]] and [[unbindKey]].
    3 KB (482 words) - 23:52, 28 December 2020
  • path, -- scan anywhere the script wants us to {{:Modules/FileSystem/translator/functions}}
    3 KB (417 words) - 21:28, 14 November 2023
  • ...vo ''.zip'' (carpeta comprimida) que contiene una colección de archivos de script ''.lua'', además de un archivo ''meta.xml'' que describe cómo el resource ...ro de un resource. Puede ser un mapa, un archivo de música, una imagen, un script, etc.
    6 KB (870 words) - 15:51, 3 December 2017
  • ...esource|Catalogue des ressources]] - Vous devriez le lire pour réaliser un script approprié. ...R/Debugage|Tutoriel : Le débugage]] - Comment trouver les erreurs dans son script
    10 KB (1,392 words) - 16:40, 23 January 2022
  • path, -- scan anywhere the script wants us to {{:Modules/FileSystem/translator/functions}}
    3 KB (464 words) - 03:30, 23 January 2022
  • path, -- scan anywhere the script wants us to {{:MTA:Eir/FileSystem/translator/functions}}
    3 KB (457 words) - 23:29, 16 January 2022
  • {{Important Note|See [[Script security]] for how-to prevent cheaters from abusing [[event system]] and [[ ...e same note, for multiple reasons, it isn't a good idea to export the same functions that you use locally as remote event handlers.}}
    7 KB (1,069 words) - 16:39, 8 April 2024
  • This script spawns a Rhino on top of one lucky individual. This script spawns a Rhino on top of the local player.
    10 KB (1,271 words) - 08:17, 4 December 2020
  • *[[onClientVehicleStartEnter]] was cancelled by a script. {{Client ped functions}}
    4 KB (556 words) - 19:22, 30 September 2021
  • * [[Client side scripts]] - Script-uri de tip client-side ...entația pentru categoriile incomplete -> [[:Category:Incomplete|Incomplete functions]].
    9 KB (1,387 words) - 18:30, 15 March 2023
  • ...If you want a custom weapon to take into account recoil, you will have to script it by firing at fixed coordinates.}} {{Client weapon creation functions}}
    4 KB (551 words) - 01:05, 16 January 2023
  • ...when the resource starts, and share the connection element with the whole script.}} **'''tag''' (Default value "tag<nowiki>=</nowiki>script"). A string which helps identify activity from this connection in the [[Ser
    8 KB (1,087 words) - 05:31, 9 February 2024
  • ...ți și [https://community.multitheftauto.com/ publish] un mod de joc sau un script util * Finalizați documentația pentru [[:Category:Incomplete|Incomplete functions]] - întrebați în #mta.scripting dacă nu sunteți sigur de ceva.
    4 KB (667 words) - 17:13, 15 March 2023
  • .../uk/site.htm Notepad++]. Il y a aussi un logiciel non officiel [[MTASE|MTA Script Editor]] (malheureusement l'auteur ne travail plus dessus) que vous pouvez ==Créer un script qui fonctionne==
    24 KB (3,773 words) - 11:24, 16 February 2021
  • ...rces. Lo que éste haga define si se trata de un modo de juego, un mapa, un script sencillo, u otra cosa. MTA, por defecto, trae ciertos resources que puedes ==Creando un script funcional==
    23 KB (3,689 words) - 19:45, 7 April 2014
  • * Added functions to modify dynamic objects' behaviour ([https://github.com/multitheftauto/mt * Added functions to manipulate colshapes parameters ([https://github.com/multitheftauto/mtas
    20 KB (2,461 words) - 14:50, 1 October 2021
  • ...to save account data "hash_password" after server restart, otherwise this script will no longer work.}} {{Utility functions}}
    5 KB (620 words) - 20:31, 21 May 2022
  • * Added option for [[addDebugHook]] to skip event/functions * Added duplicate log line filter for script debugging
    6 KB (739 words) - 19:41, 29 December 2022
  • *'''Function''' entries are MTA scripting functions. For example, if a resource needed to use restartResource and was only in t ...oup created by the admin resource but it works on the same principles. The script works with them by using [[hasObjectPermissionTo]]''
    9 KB (1,421 words) - 01:10, 3 January 2022
  • Esse script gera um Rhino em cima de um indivíduo sortudo. Este script spawna um tanque em cima do jogador local.
    10 KB (1,288 words) - 20:46, 20 June 2021
  • Add this line to the top of your script. When defined in the main body of the script it will exist in all functions.
    18 KB (2,936 words) - 22:39, 5 November 2018
  • * [[MTASE|MTA Script Editor]].''' <script src="script.lua" />
    26 KB (2,258 words) - 00:57, 4 April 2022
  • ==== New Functions ==== * Added some BASS API functions to voice - Details: [http://code.google.com/p/mtasa-blue/source/detail?r=52
    13 KB (1,667 words) - 08:55, 4 November 2017
  • ...por el recurso de administración pero trabaja en los mismos principios. El script funciona con ellos mediante el uso de [[hasObjectPermissionTo]]'' Usted puede utilizar un gran número de funciones de script de ACL para modificar la ACL en la marcha. Por supuesto, usted puede (y de
    10 KB (1,477 words) - 01:11, 3 January 2022
  • ...dit.sourceforge.net/ LuaEdit] programot. Van egy nem hivatalos [[MTASE|MTA Script Szerkesztő]] (fejlesztési státuszban, de nem tudok arról, hogy még fej == Egy működő script készítése ==
    24 KB (4,290 words) - 14:02, 3 December 2018
  • * Do we provide the GUI internally or pass an event for script owners to callback on? ...with BASS, which would have opened up possibilities for all the nice BASS functions we have.
    9 KB (1,512 words) - 05:15, 28 September 2023
  • ...(criado por fãs do MTA) com foco na linguagem Lua para o MTA: [[MTASE|MTA Script Editor]] (ainda em fase de desenvolvimento, mas você já pode testá-lo). ==Criando nosso primeiro script==
    27 KB (4,378 words) - 02:10, 6 December 2014
  • ...=10413 r10413], esta função vai falhar quando tentar acessar um arquivo de script de outro resource, até mesmo com a permissão ''general.ModifyOtherObjects {{PT-BR/File functions}}
    4 KB (627 words) - 19:25, 20 December 2023
  • * Add new drawing functions: [[dxDrawPrimitive]] and [[dxDrawMaterialPrimitive]] * '''27''' new functions
    36 KB (4,820 words) - 20:23, 29 September 2021
  • ...nt data' na chave "hash_password" depois que o servidor reiniciar, senão o script não vai mais funcionar.}} {{Utility functions}}
    5 KB (681 words) - 20:29, 21 May 2022
  • <info author="eAi" description="This is a basic CTF script" version="4"/> <script src="ctf.lua" />
    5 KB (825 words) - 22:06, 20 August 2021
  • ...r input as we saw in MTA:Race. Users should NOT have to touch the gamemode script itself at all. ...iting a map-loader for every single gamemode, the [[Map manager]] provides functions to load gamemodes and maps. Simply put, when you enter the correct command
    8 KB (1,232 words) - 17:39, 21 August 2012
  • <info author="eAi" description="This is a basic CTF script" version="4"/> <script src="ctf.lua" />
    8 KB (205 words) - 07:27, 2 April 2018
  • This function creates a [[texture]] element that can be used in the dxDraw functions. ...causing dxTextures to pile up) when they should no longer display per your script, which causes FPS lag and crashes all over MTA due to so many scripters mis
    5 KB (791 words) - 00:00, 4 February 2022
  • :{{Debug info|Loading script failed: myResource\script.lua:2: 'then' expected near ´outputChatbox'}} ...lapíthatjuk, hogy a hiba a '''myResource''' könyvtárból származik, és a '''script.lua''' fájljának a második sorából. A hibaüzenet tisztán mutatja, ho
    20 KB (3,265 words) - 20:25, 21 February 2021
  • ...r input as we saw in MTA:Race. Users should NOT have to touch the gamemode script itself at all. ...iting a map-loader for every single gamemode, the [[Map manager]] provides functions to load gamemodes and maps. Simply put, when you enter the correct command
    9 KB (1,419 words) - 19:49, 19 April 2020
  • local debugMode = true -- If true, the script will draw the vectors used to compute the effect -- EFFECT CONTROL FUNCTIONS --
    10 KB (1,278 words) - 12:10, 15 January 2022
  • * You can now edit element bone behavior through 7 new bone manipulation functions! Great for some dynamic animations. Get started at [[setElementBonePositio ...nction expects a number, the string will be treated as '''0''' and raise a script warning. In 1.6.0 this will be an error. You will still be able to provide
    28 KB (3,414 words) - 19:46, 16 June 2023
  • Adja hozzá ezt a sort a script tetejére. Ha a script egész részében van meghatározva, akkor az összes függvényben működ
    19 KB (3,117 words) - 21:24, 26 December 2018
  • *[[MTA:Eir/New_Scripting_Functions|New Scripting Functions]] ...working on several utilities: pathfinding, GUI environments, shaders, Lua script processors, GTAIII map converter (Scene2Res). In these projects he studied
    9 KB (1,456 words) - 23:06, 2 April 2017
  • ...BR.png|Em Português|20px]] [[Depuração|Depuração]] - Encontre erros em seu Script <!-- Incomplete * [[Module functions|Server-side external module scripting functions list]] -->
    12 KB (1,892 words) - 20:25, 25 April 2023
  • ...овых атрибута к экспортированному тегу функции в meta.xml, чтобы позволить Script Editor отображать описательную всплывающую
    16 KB (331 words) - 12:59, 6 September 2017
  • ...n get the surface type a vehicle is on. This is useful if you want to do a script to dirt cars over time. Please note that this function doesn't count if the {{Client world functions}}
    8 KB (1,061 words) - 14:44, 27 June 2020
  • ...ead of the [[localPlayer]]) would be possible. For more information see: [[Script security]] article.}} ...rguments to trigger with the event. You can pass any lua data type (except functions). You can also pass [[element]]s.
    10 KB (1,405 words) - 22:38, 29 April 2024
  • Ez a függvény egy parancsot csatol az egy adott script függvényhez, így amikor ezt a parancsot a szerveren használják, a füg {{Server Functions hu}}
    9 KB (1,470 words) - 18:31, 21 February 2021
  • ...eplace the corrupt mod, since it can also still be a bad model (or a dodgy script, that, tell them this: deals with vehicle types, variants, upgrades etc, in ...ssion on a server with bad practise in their scripts (abusing RAM and anim functions).
    11 KB (1,730 words) - 18:05, 12 May 2024
  • ...nction expects a number, the string will be treated as '''0''' and raise a script warning. This will be now an error. You will still be able to provide strin :* Some functions expect only unsigned integers (positive numbers), and since Jan 2016 provid
    68 KB (10,156 words) - 00:00, 14 May 2024
  • .... Quase todas as funções funcionam, incluindo determinadas [[Template:HTTP functions|Funções HTTP]], como [[httpWrite]]; o qual escreve um texto no buffer. ...o do seu recurso. Como também, se desejar chamar alguma função presente no script dele, ela terá de ser exportada, e mais tarde, usando-a chamando o [[call]
    9 KB (1,324 words) - 21:49, 21 February 2021
  • Essa função anexará uma função (handler) de script à um comando do console, para que sempre que um jogador ou administrador u {{Server functions}}
    10 KB (1,548 words) - 18:31, 21 February 2021
  • <script src="script.lua" type="server" /> Znacznik ''<script />'' wskazuje na pliki skryptów (.lua), które znajdują się w zasobie, w
    14 KB (2,053 words) - 10:57, 29 May 2022
  • ...version="1.0" name="PM System" description="Introduces /pm into MTA" type="script" /> <script src="server.lua" type="server" />
    14 KB (2,137 words) - 21:20, 15 September 2018
  • ...es.ide dosyasının içinde de listelenmiştir.Bu araç ID numaraları bazı araç script fonksiyonlarında kullanılmaktadır. {{Vehicle functions}}
    13 KB (2,225 words) - 17:07, 5 September 2015
  • ...ection of the tutorial. You should now have a basic, working vehicle spawn script. ...es, you can browse the [[Server_Scripting_Functions#XML_functions| MTA xml functions]] for help.
    20 KB (2,848 words) - 13:34, 25 November 2018
  • ...ssion on a server with bad practise in their scripts (abusing RAM and anim functions). ...eplace the corrupt mod, since it can also still be a bad model (or a dodgy script, that, tell them this: deals with vehicle types, variants, upgrades etc, in
    15 KB (2,541 words) - 21:09, 28 March 2024
  • <script src="script.lua" type="shared"/> <!-- this script will run separately both on client and server --> <script src="script.lua" type="client"/> <!-- define it separately on client -->
    68 KB (8,381 words) - 16:29, 23 April 2024
  • ...sses números de identificação do veículo são usados para várias funções de script do veículo. {{Vehicle functions}}
    21 KB (2,231 words) - 18:38, 3 April 2020
  • ...edit.sourceforge.net/ LuaEdit]. Также имеется неофициальный [[RU/MTASE|MTA Script Editor]] (на стадии разработки) и неофициальн <script src="script.lua" type="server"/>
    36 KB (778 words) - 14:57, 15 May 2024
View ( | next 100) (20 | 50 | 100 | 250 | 500)