Event.SetInt Method

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 SetInt(const char[] key, int value)

Parameters

const char[] key

Name of event key.

int value

New integer value.