Jump to content

Search the Community

Showing results for tags 'javascript'.

  • 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
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • 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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 7 results

  1. Доброго времени суток. Возникла необходимость читать на JS файлы, располагающиеся в http://mta/... (как правило там же, где и сам index.html). Вариант с input type = file отпадает, так как отсутствует возможность инжектнуть туда путь (путь к файлам не должен передаваться пользователем вручную). Пробовал разные костыли, но все они не работают из соображений безопасности ( как например загнать в css селектор в свойство content содержимое файла ). Остается вариант скачивания через XMLHttpRequest (возможен наверно аналог через fetch ). Не ясно еще возможно ли скачивание с локалхоста н
  2. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاته قد بدأت في سلسلة شرح Javascript فإذا كنت مهتما، قم بزيارة قناتي على اليوتيوب من هنا وشكرا على مرورك
  3. Hello I have an issue when I trigger an event that call a function using onClientBrowserDocumentReady, i don't know what is the issue... This is my code: The issue is... onClientBrowserDocumentReady doesn't found the browser and it can't in into the event. the executeBrowserJavascript doesn't work event = {add = addEventHandler, load = addEvent, execute = triggerServerEvent} local WINDOW_WIDTH, WINDOW_HEIGHT = guiGetScreenSize() local CEF = nil local browser = nil function deleteWebPage() if isElement(CEF) then destroyElement(CEF) showCursor(fals
  4. بسم الله الرحمن الرحيم ... السلام عليكم ورحمة الله وبركاته بعد رحلة طويلة مع لغة Lua بدأت التعلم في لغات البرمجة والتصميم الخاصة بالويب وحبيت اشاركم تجربتي HELLO WORLD After along journey learning Lua, I've started learning web design and web development And I would like to share my experience with you hoping that you like it معروف إن في لغة HTML لا يوجد (radiobutton/checkbox) مباشر وإنما الحل انك تعمل input وتغير نوعه we know that HTML doesn't have a direct *checkbox/radio* tags but the method is to create
  5. Hello everybody! I want to offer you a new language for writing scripts for MTA: SA. By the tags in the topic, you've already seen that it's Puthon 3. Many will say that Python 3 is bad for scripting, but it's not! It is similar to lua but has a wider OOP, and has the ability to connect modules. In the Internet very little material on lua, it is available but only in English, and what to do to the Russian community? The Russian segment in the MTA is very large, and lua materials are very small. Of course, the small amount of materials on the Internet for lua is not the reason for switching t
  6. I'm wanting to know if there is a way to execute javascript functions from MTA to an iframe that is being shown in the browser. When I try and execute the function, it says it isn't defined. Thanks.
  7. Piorun

    WebSockets

    Hi, Do WebSockets (for ex. libraries like Socket.IO) are working with browser created in MTA? I'm asking because I want to connect server via Socket.IO locally (NodeJS Express.js).
×
×
  • Create New...