SetEventInt

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

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).

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

Parameters

Handle event
Handle to the event.
const char[] key
Name of event key.
int value
New integer value.

Return Value

void

Error

Invalid or corrupt Handle.