EhsanFox Posted 2 hours ago Posted 2 hours ago Hey guys, As I was developing a new gamemode from scratch, I noticed that if I wanna create my HUD in React, and since I had to plan to have it on web, so no local files (weird to say, but I think it's more secure this way) I noticed, in CEF, I fixed the issue Frontend -> Lua connection via creating a http-server resource (will be open-source soon on my Github, I gotta say, it's a full-on HTTP framework) But as I was going on, I noticed, If I wanna build a HUD, the HUD doesn't ask for info, the server tells the CEF the info (such as health and chats and ...) So I did a bit of searching, and I found a WebSocket GitHub repo, which is called mtasa-websocket, And I wanted to know if anyone here has worked with it or set it up before, to help me to set it up as well. Or, if you have any idea of what else I can do (besides putting HUD in local files as a resource) I would appreciate hearing your thoughts.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now