# g\_util

- [yield](/lua-documentation/api-reference/g_util/yield.md): If executed within scripting thread, the thread will be paused for the given time.
- [is\_session\_started](/lua-documentation/api-reference/g_util/is_session_started.md): Returns whether the player is in an online session or not.
- [get\_selected\_player](/lua-documentation/api-reference/g_util/get_selected_player.md): Returns the current selected player in the player list of the menu.
- [trigger\_script\_event](/lua-documentation/api-reference/g_util/trigger_script_event.md)
- [get\_menu\_version](/lua-documentation/api-reference/g_util/get_menu_version.md): Returns the current menu version.
- [joaat](/lua-documentation/api-reference/g_util/joaat.md)
- [play\_wav\_file](/lua-documentation/api-reference/g_util/play_wav_file.md)
