GameRules_GetPropEnt
Retrieves a entity index from a property of the gamerules entity.
native int GameRules_GetPropEnt(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
int Entity index at the given property.
If there is no entity, or the entity is not valid,
then -1 is returned.Error
Prop type is not an entity, or lack of mod support.