JamesMerth Posted October 10, 2022 Share Posted October 10, 2022 Apparently nobody seems to use the lua api in this gta mod menu, since I'm the first post here. However I've got a few suggestions: Switch to Luajit since it's considerable faster and it provides ffi which let's you call c functions through lua Implement some sort of pattern scanning through lua More advanced web functions header, body, parameters, timeout for requests async web requests by passing a callback function like -- web.get(url, header, body, complete) web.get("www.google.com", nil, nil, function(data) if data.status ~= 200 then error(string.format("Error request failed, status: %d", data.status) end print(data.body) end) put, delete (and maybe other less important functions like head, options, patch as well) websocket support More rendering function loading custom fonts and drawing text with said font scissorrect drawing blurred rectangles e.g draw_rect_blur(hash, draw, x, y, w, h, blur_strength, rounding = 0, rounding_flags = 0) support for utf8 characters fore draw_text (not sure if that's already the case) Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now