All public logs
Jump to navigation
Jump to search
Combined display of all available logs of Multi Theft Auto: Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 15:03, 12 September 2022 Lopez talk contribs created page Code snippet for extracting weapon stats (Created page with "Code snippet which might be used to extract weapon stats: <syntaxhighlight lang="lua"> count = 22 statid = 3 addCommandHandler("dump", function () while (count < 33) do hFile = fileOpen ( "dump.txt" ) fileSetPos(hFile, fileGetSize ( hFile )) i = count fileWrite(hFile, "// " .. i .. " - " .. getWeaponNameFromID( i ) .. " Stat: " .. statid ) fileWrite(hFile, "\r\n") for k,v in ipairs(props) do outputChatBox(...")