DispatchKeyValueInt Function

Dispatches a KeyValue into given entity using an integer value.

bool DispatchKeyValueInt(int entity, const char[] keyName, int value)

Parameters

int entity

Destination entity index.

const char[] keyName

Name of the key.

int value

Integer value.

Return Value

True on success, false otherwise.

Errors

Invalid entity index or lack of mod support.