GameRules_GetPropVector Function

Retrieves a vector of floats from the gamerules entity, given a named network property.

void GameRules_GetPropVector(const char[] prop, float vec[3], int element)


const char[] prop

Property name.

float[3] vec

Vector buffer to store data in.

int element

Element # (starting from 0) if property is an array.


Prop type is not a vector, or lack of mod support.