[RESOLVED] how to view html files out of game



Pardon my English!

I am Brazilian and I am creating a server based on LA LIFE.

I have [essential] installed and I want to modify the menu, however when I open .html nothing appears in my browser.

I would like to know if there is any way to emulate the nui to appear in the chrome and edit in real time.



You can either call the function that opens the menu through the console (f12) or you can edit the style sheet and change the display of the element you want to see, or edit the javascript file and change the elements’ display on window load.


This would be the function, how to stay on the call?


That’s a Lua file, that won’t change anything, you need to look in the javascript files.


This is what I have of functions in js

function closeMain() {
$(".home").css(“display”, “none”);
function openMain() {
$(".home").css(“display”, “block”);
function openMain() {
$(".home").css(“display”, “block”);
function closeAll() {
$(".body").css(“display”, “none”);
function openBalance() {
$(".balance-container").css(“display”, “block”);
function openWithdraw() {
$(".withdraw-container").css(“display”, “block”);
function openDeposit() {
$(".deposit-container").css(“display”, “block”);
function openTransfer() {
$(".transfer-container").css(“display”, “block”);
function openContainer() {
$(".bank-container").css(“display”, “block”);
$("#cursor").css(“display”, “block”);
function closeContainer() {
$(".bank-container").css(“display”, “none”);
$("#cursor").css(“display”, “none”);


Then press f12 to open the web browsers console and type openMain()


This error appears


Can not find jquery.js


replace that line with <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>


thank you!!! <3


do it in javascript and chuck this in

function Discord(){