CityRP Documentation Repository

core.derma.cl_main

Name: CityRP 2 F1 Menu Author: Voluptious, Faustie

Functions

Clientcityrp_CloseF1(frame, suppressReopen) → booleanSource ☍

Closes one F1 menu frame and drops it from the tracked set.

Parameters

  • framePanel?Frame to close; defaults to activeF1Frame.
  • suppressReopenboolean?When true, ignore the next cityrp_Menu open briefly.

Returns

  1. booleanTrue when the frame was closed.
Clientcityrp_CloseF1All() → booleanSource ☍

Closes every tracked F1 frame, including orphaned popups.

Returns

  1. booleanTrue when at least one frame was closed.
Clientcityrp_ConsumeF1MapKey()Source ☍

Marks an M press as having opened or selected the Map tab.

Clientcityrp_OpenF1Tab(caption)Source ☍

=== Expose a global for DHTML: RUNLUA:cityrp_OpenF1Tab("Rules") ===

Parameters

  • captionany
Clientnewf1()Source ☍

Tables

Clientf1_categoriesToBeMadeSource ☍
Clientf1_catsSource ☍
Clientf1_panelsSource ☍
Clientnf1_tabSource ☍

Fields

Clientf1_cats._ActiveSource ☍
Clientf1_cats._Active.PanelSource ☍