NanoBob

Members
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About NanoBob

  • Rank
    Vic

Details

  • Occupation
    SAES:RPG Development manager

Recent Profile Visitors

84 profile views
  1. The documentation for guiCreateBrowser specifies the 5th argument "isLocal" is required to be set to true if the page you are loading is from a local file. You set this to false meaning you can only load public websites, not local files. Change this to true and it should work just fine.
  2. Also if you write elseif as one word you will only need one end to end your entire if statement.
  3. You have to make your engineLoadTXD and engineLoadDFF functions get called after the download is finished. https://wiki.multitheftauto.com/wiki/OnClientFileDownloadComplete Also you really would not want to restart hte resource when the player logs in since that restarts it for all players, meaning all mods get unloaded and reloaded.
  4. Weapons use weapon slots, the M4 and AK are in the same slot. And so are the pistol and the deagle, the issue is you can only have one weapon per slot. For info on the weapons and their respective slots check the wiki. https://wiki.multitheftauto.com/wiki/Weapons
  5. https://wiki.multitheftauto.com/wiki/DbQuery
  6. I believe this is actually SQLlite, not mySQL. But there's no real difference regarding your question. ON line 3 you output the result of the query using toJSON, toJSON is what makes it output in that way. In order to output it like you want you would have to use a loop. for id,row in ipairs(members) do outputChatBox(row.member_account) end More information about this can be found here https://www.lua.org/pil/7.3.html