GCMod

Pause Menu

Core overview and runtime behavior for gcm_pausemenu.


Overview

gcm_pausemenu replaces the default pause behavior with a custom NUI menu that shows:

  • Player identity/job/money info.
  • Configurable button actions.
  • Quick map/settings/exit actions.

Core Flow

  1. Resource disables default ESC pause behavior.
  2. Player triggers custom menu command/key.
  3. NUI receives player data and action buttons.
  4. Button actions route to frontend map/settings, disconnect, or custom action hook.

Integrations

  • Framework auto-detection: qb-core / es_extended
  • NUI frontend served from ui/index.html