get_field_basetype
stock BaseFieldType:get_field_basetype(FieldType:type, type_name[] = "", maxlen = 0)
| Parameter |
Description |
| type | Class member type (FIELD_* constants) |
| type_name | Optional buffer to store base type name in |
| maxlen | Maximum size of the buffer |
Returns the data field base type based off a specific field type.
From an AMXX plugin perspective, the (C++/engine) data types can be grouped
in five base types: integer, float, vector, entity and string. This stock is
essentially for convenience and debug purpose.
Base field type (BASEFIELD_* constants)