GetVector
Retrieves a vector value from a KeyValues key.
native void GetVector(const char[] key, float vec[3], const float defvalue[3] = { 0.000000, 0.000000, 0.000000 })
Parameters
const char[] key
Name of the key, or NULL_STRING.
float[3] vec
Destination vector to store the value in.
const float[3] defvalue
Optional default value to use if the key is not found.
Return Value
void