Making a box come up with typing a chat command



Oops, we’re sorry. This post is no longer available. :snail:


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 /help.


Thanks for the reply, are you able to be anymore specific? Maybe an example of what you mean?


I mean that was pretty specific :stuck_out_tongue:

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.