ShowVGUIPanel

Last Updated2021-06-24
Created At2007-07-30

Shows a VGUI panel to a specific client.

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

Parameters

int client
Client index.
const char[] name
Panel type name (Check viewport_panel_names.h to see a list of some panel names).
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.

Return Value

void

Error

Invalid client index, or client not in game.