GetEventString

Last Updated2014-11-08
Created At2007-03-04

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

native 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

Return Value

void

Error

Invalid or corrupt Handle.