Hey i need help maby anyone can help me i will create a website per nui in fivem but when i join in my server the website is always thera and i cant close it can anybody help me? i tried it with this vid FiveM Scripting 16 - FiveM NUI with Inputs and Mouse Interactions - YouTube but i am to bad in coding to know what i am doning wrong. I wanna show per command for the police a exel where the officer can say if they are onduty or no and i dont really know how i can the the fivem tutorial efficient CreateDui - FiveM Natives @ Cfx.re Docs maby anyone can help me with a code
Have you set the visibility? You should set your container class visibility to hidden via CSS.
visibility: hidden;
You can then use a function in your NUI callback to toggle this.
css
.canSee {
visibility: visible;
}
in your NUI handler
containerClass.classList.toggle("canSee");
Either toggle visibility or just set display:none and then with jQuery $(βsomethingβ).fadeIn() via windows.listener
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.