DispatchKeyValue Function

Dispatches a KeyValue into given entity using a string value.

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


int entity

Destination entity index.

const char[] keyName

Name of the key.

const char[] value

String value.

Return Value

True on success, false otherwise.


Invalid entity index or lack of mod support.