find_gamerules_info
- Синтаксис
-
native find_gamerules_info(const class[], const member[], &FieldType:type = FIELD_NONE, &arraysize = 0, &bool:unsigned = false);
Переменная | Описание |
---|---|
class |
Class name |
member |
Member name |
type |
Optional variable to store member type in (FIELD_* constants) |
arraysize |
Optional variable to store array size in, if member is an array |
unsigned |
Optional variable to store whether member is unsigned (short and char types only) |
- Описание
- Finds a gamerules offset based off a class and member name.
- Возвращает
- Class member offset