find_ent_data_info

Синтаксис

native find_ent_data_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 offset based off an entity class and member name.

Връщаща стойност

Class member offset

Грешка

If either class or member is empty, no offset is found or an invalid
offset is retrieved, an error will be thrown.