DispatchKeyValueFloat Function

Dispatches a KeyValue into given entity using a floating point value.

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

Parameters

int entity

Destination entity index.

const char[] keyName

Name of the key.

float value

Floating point value.

Return Value

True on success, false otherwise.

Errors

Invalid entity index or lack of mod support.