Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 30/10/24 in all areas

  1. Yes, i use that system because of this, if more easy than create a system using elementdata or tables for known who is loggin https://wiki.multitheftauto.com/wiki/IsGuestAccount
    1 point
  2. On my server, I use both: the MTA database to know only whether the user is logged in or not, and MySQL to store all the information and be able to share it across servers. I have several tables in MySQL: one just for login, where I store the email, password, and username, and another one to store user information.
    1 point
  3. This function can return one table, which also contains other tables, so you don't need to declare multiple variables to store the return vale of it. The detailed description of the function can be found here: https://wiki.multitheftauto.com/wiki/FromJSON
    1 point
  4. And if you do: local result = {fromJSON(data)} ? { "id": 49, "username": "framef318", "email": "[email protected]" }, This is one return value. local a, b = fromJSON(data) { "id": 50, "username": "framef3188", "email": "[email protected]" } And this is one return value. local a, b = fromJSON(data) Other way (untested): local result = fromJSON("[" .. data .. "]")
    1 point
  5. Возможно) Когда-то форум был более активен. Сейчас же большинство перешло в discord, а русскоязычный сегмент обитает в форках. Может старый ник подскажешь?
    1 point
×
×
  • Create New...