CreateDialog Function

Creates different types of ingame messages.

void CreateDialog(int client, Handle kv, DialogType type)

Parameters

int client

Index of the client.

Handle kv

KeyValues handle to set the menu keys and options. (Check iserverplugin.h for more information).

DialogType type

Message type to display ingame.

Errors

Invalid client index, or client not in game.