DispatchKeyValue Function

Dispatches a KeyValue into given entity using a string value.

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

Parameters

int entity

Destination entity index.

const char[] keyName

Name of the key.

const char[] value

String value.

Return Value

True on success, false otherwise.

Errors

Invalid entity index, or no mod support.