GetEventString Function

Retrieves the string value of a game event's key.

void GetEventString(Handle event, const char[] key, char[] value, int maxlength, const char[] defvalue)

Parameters

Handle event

Handle to the event.

const char[] key

Name of event key.

char[] value

Buffer to store the value of the specified event key.

int maxlength

Maximum length of string buffer.

const char[] defvalue
No description.

Errors

Invalid or corrupt Handle.