KeyValues.SetFloat Method

Sets a floating point value of a KeyValues key.

void SetFloat(const char[] key, float value)

Parameters

const char[] key

Name of the key, or NULL_STRING.

float value

Floating point value.