SetEventInt Function

Sets the integer value of a game event's key.

Integer value refers to anything that can be reduced to an integer. The various size specifiers, such as "byte" and "short" are still integers, and only refer to how much data will actually be sent over the network (if applicable).

void SetEventInt(Handle event, const char[] key, int value)


Handle event

Handle to the event.

const char[] key

Name of event key.

int value

New integer value.


Invalid or corrupt Handle.