GameRules_GetPropFloat
Retrieves a float value from a property of the gamerules entity.
native float GameRules_GetPropFloat(const char[] prop, int element = 0)
Parameters
const char[] prop
Property name.
int element
Element # (starting from 0) if property is an array.
Return Value
float Value at the given property offset.Error
Prop type is not a float, or lack of mod support.