Module core.plugins.warning.cl_init
Clientside Warnings System
Module Overview
Functions
| warning_menu(mode, target, data) | Function to open the warnings menu. |
| table_filled(table) | Check if a table has data (only works for numericly indexed tables). |
- warning_menu(mode, target, data)
-
Function to open the warnings menu.
Parameters:
- mode The mode to open in.
- target The player for which the menu is being opened.
- data List of warnings the target player.
- table_filled(table)
-
Check if a table has data (only works for numericly indexed tables).
Parameters:
- table The table to check.
Returns:
-
boolean If the table has data.