pauseNui
pauseNui(state [bool])
Pauses dynamic NUI overall. If called when using in a vehicle, the NUI will hide and stop, including it's events. If unpaused when in a vehicle, it will return to normal and show , based of your settings. This native does not reset it's state once you get out of the vehicle, meaning you must keep track if it is currently paused or not. You may get the current state with this export. If the player is not in a vehicle, this native will control the nui execution when getting in.
Last updated