Search the Community

Showing results for tags 'client'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • community.mtasa.com
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Gang


Location


Occupation


Interests

Found 46 results

  1. Hi. I am now writing a launcher with authorization, etc., there was a question about the launch of Mta, whether there are keys ( parameters ) launch MTA? Let's say nick change or automatic connection when launching the game? Thanks for the reply, sorry for my English, used translator😀 function doUser_bottom_lClickLeft(UXMouseEvent $e = null) { execute('D:\Games\mt\Multi Theft Auto.exe', false); } P.S -> Another question, where can I get the source code of mta? And what programs will be required for compilation?
  2. Thisdp's DirectX Graphical User Interface System ( MTASA 2D+3D DxLIB ) This dxlib provide dx gui functions and events to make it easier to use and alternative to change the style more flexibly. Warning: Old function name like dgsDxGUI*/dgsDx* are no longer supported after 3.4, please change your functions and events name 'dgsDxGUI*'/'dgsDx*' have been changed to 'dgs*' Current Version: 3.37 Final Version: 3.99 Features: 1. Update Check(DGS will notice you if there is a higher version, and you can choose to ignore it or disable it in the config file) Update Command: "updatedgs" 2. Dx GUI Types: Window Edit Box Button Grid List Image Scroll Bar Scroll Pane Text Label Tab Panel Ellipse Detect Area (EDA) Detect Area Radio Button Combo Box Check Box Memo 3D Interface Media Browser Browser 3. Edit Selection Fixed 4. dgs-dxeda is used to check whether your mouse is in the target ellipse area. 5. Debug Mode , Command: "debugdgs" 6. You can apply shader to the dxgui 7. Include CMD, Command: "cmd" ( For more help, please input "help" in the CMD ) 8. Memo rewritten. 9. OOP Class Notice:Do not close your server or stop the script when it is updating. Wiki: https://wiki.multitheftauto.com/wiki/Dgs ( Still Working In Process ) Auto Completion For N++ (Thanks To Ahmed Ly): http://www.mediafire.com/file/m6dm7815d5dihax/lua.zip Discord Server: https://discord.gg/QEs8q6W Download DGS : https://github.com/thisdp/dgs Notice: Need acl rights to call fetchRemote. To Contact Me , Skype: thisdpzjl My server is based on DGS , if you want to see the exact effect of dgs ( not best, my design is bad ). Please have a look. IP: angel.mtaip.cn:10010 If you want to sell your script which involves DGS, please exclude DGS from your price. HurtWorld Backpack Panel(Example) DGS Network Monitor(Built-in)
  3. ArtiTheDoc

    Cannot find audio card installed!

    Guys when i open the game from steam, everything works fine but when I open it from mta client it says that cannot find my audio card. Plz help me fix this i have already installed the latest drivers and I don't know what to do. "Grand Theft Auto SA cannot find Audio card installed" My MTA Diag results: https://pastebin.mtasa.com/796172962
  4. Yolllos

    Problem with instal

    in the instalation when im going to open the launcher it appears the gta san andreas screen but instantly it closes and tells me ¨problems with the sandbox enviroment¨ how can i solve it?
  5. nurfaizfy19

    Load Browser In Game

    Hello MTA, sorry if my English is bad I'm looking for a way to load a website in the game, for example a website that I have forums.javaliferoleplay.web.id I have a code like this function register_panel( ) local screenWidth, screenHeight = guiGetScreenSize() local windowWidth, windowHeight = 1280, 720 local left = screenWidth/2 - windowWidth/2 local top = screenHeight/2 - windowHeight/2 local window = guiCreateWindow( left, top, windowWidth, windowHeight , "Register", false ) local browser = guiCreateBrowser( 0, 28, windowWidth, windowHeight -60, false, false, false, window ) local theBrowser = guiGetBrowser( browser ) guiWindowSetSizable(window, false) requestBrowserDomains({ "forums.javaliferoleplay.web.id" }) addEventHandler( "onClientBrowserCreated", theBrowser, function( ) loadBrowserURL( source, "http://forums.javaliferoleplay.web.id/" ) end ) local close = guiCreateButton(0, 700, 1280, 50, "CLOSE", false, window) addEventHandler ( "onClientGUIClick", close, function() guiSetVisible(window, false) end ) end In the code above, the website I intended to load does not appear, but there is a dialog box asking for permission to open the link. But when opening youtube for example, the website opens normally. Can someone help me? Thanks before
  6. Every time I start the MTA it opens normal, but when I play for about 15 minutes it crashes and gives the error. 0x00000005 Can anyone help with this error? I already downloaded MTADiag and checked it gave this link. (https://pastebin.mtasa.com/652111881)
  7. BlockFighter

    Object show all players in client side

    Hi! My problem is that on the client side the object is seen by only one person who has tried it out and I want everyone to see the object on the server. Client Side: local rx,ry,rz = getElementPosition(getElementData(localPlayer,"cage")) local cx,cy,cz = getVehicleComponentPosition(getElementData(localPlayer,"cage"),"static_p01") local x,y,z = rx + cx, ry + cy+3, 0.8 local a,b = getScreenFromWorldPosition(x,y,z) local magnet = createObject(1301, rx-0.6, ry-5, rz+4, 0, 0, 0) setObjectScale(magnet, 0.3) setElementCollisionsEnabled(magnet, false) moveObject(magnet, 1000*60*1, rx-0.6, ry-5, rz-50) setTimer(function() destroyElement(magnet) local magnet2 = createObject(1301, rx-0.6, ry-5, rz-50, 0, 0, 0) setObjectScale(magnet2, 0.3) setElementCollisionsEnabled(magnet2, false) moveObject(magnet2, 1000*60*1, rx-0.6, ry-5, rz+4) local crate = createObject(1224, rx-0.6, ry-5, rz-50.3, 0, 0, 0) moveObject(crate, 1000*60*1, rx-0.6, ry-5, rz+3.3) setElementCollisionsEnabled(crate, false) setTimer(function() usedMagnet = false end, 1000*60*1, 1) end, 1000*60*1, 1) In principle I should only use this server site: setElementVisibleTo
  8. Clipper_

    Effect fix

    I got a problem with created effects. In normal dimension I created an effect that is attached to the player's vehicle. The problem is that players from other dimensions can see it too moving around. Any idea how I can restrict the effects only for dimension 0? local attachedEffects = {} function getPositionFromElementOffset(element,offX,offY,offZ) local m = getElementMatrix ( element ) -- Get the matrix local x = offX * m[1][1] + offY * m[2][1] + offZ * m[3][1] + m[4][1] -- Apply transform local y = offX * m[1][2] + offY * m[2][2] + offZ * m[3][2] + m[4][2] local z = offX * m[1][3] + offY * m[2][3] + offZ * m[3][3] + m[4][3] return x, y, z -- Return the transformed point end function attachEffect(effect, element, pos) attachedEffects[effect] = { effect = effect, element = element, pos = pos } addEventHandler("onClientElementDestroy", effect, function() attachedEffects[effect] = nil end) addEventHandler("onClientElementDestroy", element, function() attachedEffects[effect] = nil end) return true end addEventHandler("onClientPreRender", root, function() for fx, info in pairs(attachedEffects) do local x, y, z = getPositionFromElementOffset(info.element, info.pos.x, info.pos.y, info.pos.z) setElementPosition(fx, x, y, z) end end ) local fire = {} function createCustomEffect(player, vehicle, value) if value then local x, y, z = getElementPosition(vehicle) if not fire[player] then fire[player] = createEffect("fire_bike", x, y, z, 0, 0, 0, 0, true) attachEffect(fire[player], vehicle, Vector3(0, 0, 0)) setElementDimension(fire[player], 0) end else if fire[player] then attachedEffects[fire[player]] = nil destroyElement(fire[player]) fire[player] = nil end end end addEvent("triggerCustomEffect", true) addEventHandler("triggerCustomEffect", root, createCustomEffect) The event is triggered in server when a player enters a vehicle, motorcycle in this case. Attaching functions are taken from 'MTA Wiki > Suggested functions function onPlayerVehicleEnter(vehicle, seat, jacked) if getElementModel(vehicle) == 463 then if seat == 0 then triggerClientEvent("triggerCustomEffect", source, source, vehicle, false) end end end addEventHandler("onPlayerVehicleExit", root, onPlayerVehicleEnter)
  9. Ukrainian - Доброго дня. Я маю глобальну модифікацію для гри GTA San Andreas. Я хочу дати змогу гравцям, грати в неї одночасно, з усього світу, і для цього я вибрав клієнт МТА, тому що він найпродвинутіший, і має відкритий код. Я хотів би зробити один сервер для цієї модифікації, але, щоб на нього могли підключитися лише ті люди, які встановлять спеціальний клієнт. Я хотів запитати: 1. В якій папці, та в якому файлі, я можу змінити доступ клієнту? Та як саме? 2.В якій папці, та в якому файлі, я можу змінити список IDE та IPL файлів, які буде загружати клієнт при запуску? Тобто, я не можу встановити звичайний МТА клієнт на свою модифікацію, тому що вона повністю замінює стандарту карту, а як я зрозумів, то клієнт по стандарту загружає IDE та IPL файли від стандартної карти, і при спробі встановити клієнт на мою модифікацію, він мені повідомляє про помилку. 3.В якій папці, та в якому файлі, я можу змінити GUI меню клієнта, ESC екран завантаження, і так далі. Я хотів би зробити, щоб при старті мультиплеєру, гравця відправляло на меню з вибором одного з декількох серверів, а не в стандарте меню МТА. Хотілось би отримати повну інструкцію, що і де, потрібно заміняти, за раніше, дуже велике дякую! P.S Я не буду завантажувати всі файли карти через додавання посторонніх моделей на стандартний сервер МТА, тому що їх більше 50-и тисяч. Якщо ви трохи не зрозуміли, що я хочу зробити, то прикладом цього є такі проекти, як: RP BOX, та MTA Province! Russian - Добрый день. Я имею глобальную модификацию для игры GTA San Andreas. Я хочу дать возможность игрокам, играть в неё одновременно со всех точек мира, и для этого я выбрал клиент МТА, по скольку он самый продвинутый, и имеет открытый исходный код. Я хотел бы сделать один сервер для этой модификации, но, что бы на него смогли подключаться только те люди, которые установят специальный клиент. Я хотел спросить: 1.В какой папке, в каком файле, я могу изменить доступ к клиенту? И как именно? 2. В какой папке, в каком файле, я могу изменить список IDE, и IPL файлов, которые будут загружены клиентом при запуске? То есть, я не могу установить обычный клиент МТА на свою модификацию, потому что она полностью изменяет стандартную карту, а как я понял, то клиент по стандарту загружает IDE и IPL файлы, от стандартной карты, и при попытке установить клиент на мою модификацию, он мне сообщает об ошибке. 3. В какой папке, в каком файле, я могу изменить GUI меню клиента, ESC экран, экран загрузки, и так дальше? Я хотел бы сделать, что бы при старте мультиплеера, игрока отправляло в меню с выбором, одного из некоторых серверов(В планах их несколько) а не в стандартное меню МТА. Хотелось бы получить полную инструкцию, что и где нужно заменять, заранее большое спасибо! P.S Я не буду загружать все файлы карты, через добавление посторонних моделей, на стандартный сервер МТА, потому, что их более 50-и тысяч! Если вы еще не совсем поняли, что я хочу сделать, то примером этого будут такие проекты, как: RP Box, и MTA Province! English - (Translate from Russian Language) Good afternoon. I have a global modification for the GTA San Andreas game. I want to give players the opportunity to play it simultaneously from all points of the world, and for this I chose the MTA client, because it is the most advanced, and has open source code. I would like to make one server for this modification, but that only those people who install a special client can connect to it. I wanted to ask: 1.In what folder, in which file, can I change access to the client? And how exactly? 2. In which folder, in which file, can I change the list of IDEs, and the IPL files that will be loaded by the client at startup? That is, I can not install the usual MTA client for my modification, because it completely changes the standard card, and as I understand it, the standard client downloads IDE and IPL files from the standard card, and when trying to install the client on my modification, he tells me about the error. 3. In which folder, in which file, can I change the GUI of the client menu, the ESC screen, the boot screen, and so on? I would like to do that, at the start of the multiplayer, the player would send to the menu with a choice, one of some servers (there are several of them in the plans) and not the standard menu of the MTA. I would like to receive a full instruction on what and where to replace, thank you in advance! P.S I will not upload all the map files, through the addition of extraneous models, to the standard AIT server, because there are more than 50,000 of them! If you still do not quite understand what I want to do, then an example of this will be such projects as: RP Box, and MTA Province!
  10. Watashi74

    MTA under your card

    Hello. I have a global mod, really global. It has close to 65.000 models, so I have to use limitadjuster fastman92. I need to adapt an AIT client so that players can play my modification online. By type MTA Province (Google) I disabled the .asi file check https://imgur.com/a/EafjFOO изменив .asi на .ass(:D) изменил еще этот файл, заменив false на true https://imgur.com/a/aTp5S9s. I compiled the MTA, it worked, the MTA turns on, and does not pay attention to the .asi files in the game folder. The MTA starts up and works, I started the local server, and I'll try to connect, but my game is minimized, and after 10 seconds it flies. It starts proxy_sa, I started it not with the help of MTA, but just from the game folder, I got an error, there was a shortage of .dll files, I threw them from the AIT folder to the GTA folder, it worked. Proxy_sa was turned on. But still when connecting to the server through the client, the game is minimized, and after 10 seconds it turns off, in dispatching tasks, it is written that proxy_sa does not respond. Also on the server, I allowed players to use the modified gta3.img, and also removed the / maps and the rest from the verification of the data. But with all this, it does not work properly. Help me, please.
  11. Ivan Orel

    Save player's fighting style

    Hi guys! Help me make the save. player walking style? ---------------Определить языкАзербайджанскийАлбанскийАмхарскийАнглийскийАрабскийАрмянскийАфрикаансБаскскийБелорусскийБенгальскийБирманскийБолгарскийБоснийскийВаллийскийВенгерскийВьетнамскийГавайскийГаитянскийГалисийскийГреческийГрузинскийГуджаратиГэльскийДатскийЗападнофризскийЗулуИвритИгбоИдишИндонезийскийИрландскийИсландскийИспанскийИтальянскийЙорубаКазахскийКаннадаКаталанскийКиргизскийКитайский (традиционный)Китайский (упрощенный)КорейскийКорсиканскийКосаКурдскийКхмерскийЛаосскийЛатинскийЛатышскийЛитовскийЛюксембургскийМакедонскийМалагасийскийМалайскийМалаяламМальтийскийМаориМаратхиМонгольскийНемецкийНепальскийНидерландскийНорвежскийНьянджаПанджабиПерсидскийПольскийПортугальскийПуштуРумынскийРусскийСамоанскийСебуанскийСербскийСингальскийСиндхиСловацкийСловенскийСомалиСуахилиСунданскийТаджикскийТайскийТамильскийТелугуТурецкийУзбекскийУкраинскийУрдуФилиппинскийФинскийФранцузскийХаусаХиндиХмонгХорватскийЧешскийШведскийШонаЭсперантоЭстонскийЮжный сотоЯванскийЯпонский Hi guys! How do I save a player's fighting style? Save and Load player's fighting style on (onPlayerLogin, onPlayerQuit, onPlayerLogout, onPlayerWasted). Please help me! I will be grateful to YOU! :)
  12. Remmist

    CEF browser

    How to disable all components of the CEF browser ? Give me a separate MTA client with a fully deactivated CEF please.
  13. Guest

    Client و Server

    السلام عليكم اعرف انو Client هو على جهاز اللاعب Server ينطبق على السيرفر بس انا الحين ملخبط لنو كل مود اسويه مش عارف ايش احطه في الميتا سيرفر ولا كلينت و مش عارف كمان متى اعمل ملفين للمود client + server على سبيل المثال المود هذا local vipVehicles = { [520] = true; } addEventHandler("onPlayerCommand", root, function(cmd) if cmd == "cv" then local p = {getElementPosition(source)} for _,vehicle in ipairs(getElementsByType("vehicle")) do if vipVehicles[getElementModel(vehicle)] then local v = {getElementPosition(vehicle)} if getDistanceBetweenPoints3D(p[1], p[2], p[3], v[1], v[2], v[3]) < 10 then if not isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("VIP")) then destroyElement(vehicle) outputChatBox("● You must be VIP to spawn this vehicle", source, 255, 0, 0) end end end end end end ) هو مود ما يخلي اللاعب ينزل طائرة و هو مو فيب طب مش المفروض بيكون كلينت؟ لما غيرته في الميتا الى سيرفر صار شغال؟ احد يشرحلي
  14. Hello there. Me and my friend tried to make a script that makes a spoiler on a vehicle moving. If the vehicle is going above 100km/h the spoiler will change its position. We are using setVehicleComponentPosition. The problem is that only the player who's driving the car can see it moving. Is there any way that it will be visible for everybody on the server?
  15. Guest

    Client + server.lua

    Hello there I wanted to ask you guys when i must do client.lua and server.lua because theres resources with them both and theres resources with server.lua only
  16. Jaysds1

    Client Not Starting

    Hey all, It's been awhile since I've been here lol Anyways; I am running linux and I've been testing little stuff to get GTA running and I ended up running it with steam, now I'm trying to get MTA running with it and I came to a conclusion that I don't know any extra requirements to use for it. Using PlayOnLinux(Use of WINE): GTA:SA Works (Steam Version) Installation of MTA:SA complete Start of MTA:SA fails (https://pastebin.mtasa.com/324878746) Additional Info (https://imgur.com/a/SFqCtht)
  17. TheGrimReaper

    [help] Display Player Account data

    local level = 0 function render (player, level) level = getElementData player, "LEVEL") or 0 dxDrawText("level ".. level, 110 - 1, 717 - 1, 381 - 1, 754 - 1, tocolor(0, 0, 0, 255), 1.30, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("level ".. level, 110 + 1, 717 - 1, 381 + 1, 754 - 1, tocolor(0, 0, 0, 255), 1.30, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("level ".. level, 110 - 1, 717 + 1, 381 - 1, 754 + 1, tocolor(0, 0, 0, 255), 1.30, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("level ".. level, 110 + 1, 717 + 1, 381 + 1, 754 + 1, tocolor(0, 0, 0, 255), 1.30, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("level ".. level, 110, 717, 381, 754, tocolor(255, 255, 255, 255), 1.30, "bankgothic", "left", "top", false, false, false, false, false) end addEventHandler("onClientRender", root, render) can someone pls tell me whats wrong with this script pls and yes i am a bit new to scripting in lua
  18. Gat

    [Help]Massaging gui

    I made an script that make staffs can open an panel by using /dm then choose a player and type a message then send it... But my problem is i don't know how to trigger this to put this code in server side outputChatBox(msg, selectedplayer, 255, 255, 255, true) I mean to send the message to selected player only... client variables: msg = guiGetText(editbox) selectedplayer = guiGridListGetSelectedItem(gridlist) Help pls
  19. So, I really love to play with MTA, but one day I couldn't launch it, and a little window popped up saying: "GTA: San Andreas may not have launched correctly. Do you want to terminate it?" I have Win10, and I reinstalled both the GTA and the MTA. I don't know what to do, please help!
  20. #DaNiLiN

    PrivACL Marker

    Gente Gostaria de saber como adiciono priv acl por marker Ex: O player entra no marker mais não conseguir abrir o painel que está no marker
  21. stPatrick

    Crashes

    Hello! About two weeks ago, every player are crashing. This is a continuous report and everyone is affected, even those who have not crashing formerly. The MTA closes and does not write any crash information. (No script errors)
  22. Siberhecy

    What is the default login system?

    As the title, what is the default login system for default server? I deleted all resource load from mtaserver.conf but still /login /register works.. Thanks.
  23. Hello, I'm trying to pass my server side settings defined in my meta.xml to the client. However, when passing the table of XML data to the client, the data does not persist. Here's my server side code: addEvent("onClientRequestResourceSettings", true) addEventHandler("onClientRequestResourceSettings", resourceRoot, function() local xml = xmlLoadFile("meta.xml") local settingsNode = xmlFindChild(xml, "settings", 0) if(settingsNode) then local settings = xmlNodeGetChildren(settingsNode) triggerClientEvent(client, "onServerProvideResourceSettings", resourceRoot, settings) end xmlUnloadFile(xml) end ) That above event is called client side when the resource starts. Here's the client side code: addEvent("onServerProvideResourceSettings", true) addEventHandler("onServerProvideResourceSettings", resourceRoot, function(theSettings) iprint("Settings provided: "..inspect(theSettings)) --Output: "Settings provided: { }" end ) However my settings table is not being passed to the client. When printing the output, it appears to be an empty table. I'm aware there is a limitation of passing xml data to the client, however as this is in fact a table data type, I wouldn't of thought there would be an issue? Can anyone point me in the right direction, or perhaps provide some better solutions for passing settings data from the meta.xml to the client? Cheers.
  24. Siberhecy

    Help with default chat script?

    Hello everyone, I want to changes in chat. As you know when players write something on the server there is a log chat side. [MTA-NickName] : [message] Siberhecy : Hello everybody! I want to customization it, i need to find default chat script? Where is it? I want to type MTA-NickName as real database nickname.. To do this i need find real/default chat script or other way? Thanks, have a nice forum
  25. Hello everybody, I have a question. Please, someone answer who knows these license things. I want to create an MTA Server. Can I make my server advertisements in somewhere? Like websites, YouTube channels? and can I earn money from my server by selling in-game objects, membership blah blah.. Can I have copyright problems in the future? Thanks, have a great day!