GameRules_SetPropVector Function

Sets a vector of floats in the gamerules entity, given a named network property.

void GameRules_SetPropVector(const char[] prop, const float vec[3], int element, bool changeState)

Parameters

const char[] prop

Property name.

const float[3] vec

Vector to set.

int element

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

bool changeState

This parameter is ignored.

Errors

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