Jump to content

KyonaxDEV

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About KyonaxDEV

  • Rank
    Newbie
  • Birthday 31/07/2000

Details

  • Gang
    Synchronous
  • Location
    Colombia
  • Occupation
    Boss
  • Interests
    Learn

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ok, I did this but the call of the function still return nil [14:47:42] ERROR: [init]\login\LoginBackend.lua 27: attempt to call global 'getError' (a nil value) ---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•--- ---| |--- ---| Script by "Kyonax - Pilar Perfeccionista" Synchronous member |--- ---| Github: https://github.com/Kyonax • G-Mail: kyonax.corp@gmail.com |--- ---| code script from Montgomery Country RP
  2. I don't know if that is the problem, I call all my resources like that, and they work normally, the name of that resource is [init] and I called like that ...the problem is... I only want to know how to call a function from a file to another in the same resource.
  3. Yeah my bad... But I called the resource like that , I have in that folder the meta.xml, and It's working, only I need is call the functions inside the InitTooltipMessage.lua to the file RegisterBackend.lua
  4. Hello dear community. I'm doing a Error Tooltip Resource, I created an Error Client File for all the Errors from my Main Register Resource, and I tried to call that resource by Functions on the same resource, How can I call a Function from the same resource and get The Object File that I want?... This is my code - Error File (InitTooltipMessage.lua) ---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•---•--- ---| |--- ---| Script by "Kyonax - Pilar Perfeccionista" Syn
  5. ¿Que problema necesitabas solucionar? o ya lo solucionaste? estuve un tiempo inactivo.

    1. KyonaxDEV

      KyonaxDEV

      Ya solucioné ese problema, aún así ahora tengo otros problemas.

  6. Okay... the solution was very simple, only make the CEF, page and browser global variables ...like this event = {add = addEventHandler, load = addEvent, execute = triggerServerEvent} local WINDOW_WIDTH, WINDOW_HEIGHT = guiGetScreenSize() -- HTML Web Page Creation page = "http://mta/player/html/login.html" CEF = guiCreateBrowser(0, 0, WINDOW_WIDTH, WINDOW_HEIGHT, true, false, false) local browser = guiGetBrowser(CEF) Then delete the onClientBrowserDocumentReady event, and that's it function sendErrorLabel(error) executeBrowserJavascript(browser,
  7. El link del discord no funciona, aún así... Cuanto cobras para resolver un problema?
  8. 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
×
×
  • Create New...