Jump to content

GTX

Members
  • Posts

    1,273
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by GTX

  1. You also have to change local getFuel = getElementData(getPedOccupiedVehicle(getLocalPlayer()), "Fuel")
  2. GTX

    how?

    This is not a request forum. viewtopic.php?f=91&t=47897 Use DX GUI or something. https://github.com/Woovie/dxGUI
  3. If it was working then I've no idea. Try debugging your code like: for k, v in ipairs(dim1players) do local text1 = "P1 RP: " local text2 = "P2 RP: " outputDebugString("Sent to "..getPlayerName(v)) triggerClientEvent(v, "round5addtext", v, text1, text2) end
  4. GTX

    2 questions

    guiSetText loadBrowserURL
  5. GTX

    Web Browser

    Shaders. engineApplyShaderToWorldTexture
  6. if isLoggedIn == 0 then return end
  7. GTX

    [HELP] Logs

    Message type 0: Default chat Message type 1: Action message Message type 2: Team chat https://wiki.multitheftauto.com/wiki/OnPlayerChat
  8. Set httpserver in mtaserver.conf to 0. That might help. Otherwise, you can't disable it.
  9. No, you can't find inbuilt nametag system. It's in source code.
  10. Note that element data "connecter" must be boolean.
  11. Are they in dimension 1?
  12. setElementData(getPedOccupiedVehicle(getLocalPlayer()), "Fuel", (getFuel-1.000))
  13. GTX

    Help!!!!

    Use onPlayerQuit event.
  14. I did understand you and gave you function. I won't do it for you. For admin: isObjectInACLGroup
  15. setTimer(outputChatBox, 300000, 0, "Message 1", root, 255, 255, 255, true) setTimer(outputChatBox, 300000*2, 0, "Message 2", root, 255, 255, 255, true)
  16. Put them in same resource or file. Or you can use triggerEvent
  17. Nope. That's not possible. Only replace.
  18. GTX

    cef

    https://wiki.multitheftauto.com/wiki/CEF_Tutorial Here is explained everything.
  19. GTX

    Saving GRIDLIST

    Put them in a table and then insert messages like: local messages = {} table.insert(messages, 1, {playerName, message}) -- Insert a message into table at first position. if #messages > 30 then table.remove(messages) -- Remove last one end MySQL is much more faster and convenient than XML. Maybe you could use it and you wouldn't need to save only 30 last messages. You could make custom logs. And if you still want to fetch only 30 messages, you could easily fetch latest 30 from MySQL database by using LIMIT.
  20. GTX

    Editfield.

    You could also use CEF and create an editbox in HTML/CSS and then import it into MTA.
  21. Use destroyElement to close DB connection.
  22. Is the image listed in meta?
×
×
  • Create New...