Jump to content

1LoL1

Members
  • Posts

    944
  • Joined

  • Last visited

Everything posted by 1LoL1

  1. 1LoL1

    Solved

    ??? i don't know what do you mean with row["column"] mean row["1"] ?
  2. 1LoL1

    Solved

    I don't understand this -- here you can use row or get the column: row["column"] or use a 2nd loop for the column
  3. 1LoL1

    Level

    It's other function. Post the code.
  4. 1LoL1

    Solved

    Here: local r = getElementData(source, "r") local g = getElementData(source, "g") local b = getElementData(source, "b") dbExec(db, "INSERT INTO RGB (Name, Account, RGB) VALUES (?, ?, ?)", name, account, ""..r..", "..g..", "..b.."") in database is "255, 255, 255" But idk how i can load 3x getElementData to 1x getElementData function loadd (source) local account = getAccountName(source) local result = dbQuery ( database ,"SELECT * FROM RGB WHERE Account = ?", account) local poll, rows = dbPoll(result, -1) if rows == 1 then setElementData(source, "RGB", poll[1]["HERE IDK HOW"]) end end addEventHandler("onPlayerLogin", getRootElement(), loadd) because i want use it to Vehicle Lights and there i need r, g, b.
  5. 1LoL1

    Solved

    Save working normally i need only load of database.
  6. 1LoL1

    Level

    Because "Level" label it is not in the code.
  7. 1LoL1

    Solved

    he's not planning on showing the code this is all we get to fix it. I've tried speaking to him but hé only wants to do it in skype. Yes because you want full code. And i can't share full code because there i have save system.
  8. Must work normally.. for me really work.
  9. For me work normally. Do you have in server-side?
  10. What do you mean? this? addEventHandler("onPlayerConnect", getRootElement(), function () cancelEvent(true, "TEXT") end)
  11. You're so lazy that test? Be glad that you helped..
  12. Let's test.. do you think that there will be someone for you to test?
  13. 1LoL1

    Solved

    Anyway thanks for help i put in server-side.
  14. 1LoL1

    Solved

    I really don't understand what do you mean He means, in server sided script you can look at all changed nickname In client sided you can see only your own changed nickname not all Ah that must be in server-side ye?
  15. 1LoL1

    Solved

    I really don't understand what do you mean
  16. 1LoL1

    Solved

    So i must this in server-side?
  17. 1LoL1

    Solved

    not server? server is there automatically.. and it's not working i know TDS is only test and i have without [] and not work.
  18. 1LoL1

    Solved

    No must be [TDS] Because i have there others files. WARNING: Bad usage @ 'fileOpen' [unable to load file 'logs.log'] It's MTA -> server -> deathmath -> resources -> [TDS] -> SCRIPT -> logs -> logs.log
  19. 1LoL1

    Solved

    Yes MTA -> mods -> deathmatch -> resources -> [gamemodes] -> TEST -> logs -> logs.log And yes it's empty.
  20. 1LoL1

    Solved

    Not it's not added.
  21. 1LoL1

    Solved

    Please anyone help?
  22. 1LoL1

    Solved

    source = Player poll = dbPoll 1st value = This is what i said on start topic.
  23. 1LoL1

    Solved

    Now i'am trying to save. This save work normally: local r = getElementData(source, "r") local g = getElementData(source, "g") local b = getElementData(source, "b") dbExec(db, "INSERT INTO RGB (Name, Account, RGB) VALUES (?, ?, ?)", name, account, ""..r..", "..g..", "..b.."" When i want load RGB values not work idk how to: setElementData(source, "RGB", poll[1]["RGB"])
  24. 1LoL1

    Solved

    What? this is server-side. And this is next code i want only know how color i have.
×
×
  • Create New...