Ok. So, im trying to make it in-game so that when you type a certain command a box shows up on screen. For example. /help a black box transparent would pop up with a title and list of commands and subtitles. This helps the client’s chat not get clustered with commands being entered. Anyone know how to do this?
Probably best to use NUI for this. You can make the HTML look like you want, put the information in it and show it when they do
Thanks for the reply, are you able to be anymore specific? Maybe an example of what you mean?
I mean that was pretty specific
For creating NUI stuff and communicating between NUI and Lua, there’s a tutorial on the forum. You will need to also look up HTML and CSS to style the UI how you want (Google can yield basic tutorials).
As for the command, you can use the REGISTER_COMMAND native to handle the command and show the UI.
Ok, thanks again for the reply. Ill make an attempt at this!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.