DispatchKeyValueVector Function

Dispatches a KeyValue into given entity using a vector value.

bool DispatchKeyValueVector(int entity, const char[] keyName, const float vec[3])

Parameters

int entity

Destination entity index.

const char[] keyName

Name of the key.

const float[3] vec

Vector value.

Return Value

True on success, false otherwise.

Errors

Invalid entity index, or no mod support.