ShowVGUIPanel Function

Shows a VGUI panel to a specific client.

void ShowVGUIPanel(int client, const char[] name, Handle Kv, bool show)

Parameters

int client

Client index.

const char[] name

Panel type name (Check viewport_panel_names.h to see a list of some panel names).

Handle Kv

KeyValues handle with all the data for the panel setup (Depends on the panel type and may be unused).

bool show

True to show the panel, or false to remove it from the client screen.

Errors

If the client is not connected an error will be thrown.