Signature
native get_module(id, name[], nameLen, author[], authorLen, version[], versionLen, &status);
Description
Retrieves info about a module by module index.
Notes
-
For a list of possible status flags, see module_* constants in
amxconst.inc
Parameters
- id — Module id
- name — Buffer to copy module name to
- nameLen — Maximum name buffer size
- author — Buffer to copy module author to
- authorLen — Maximum author buffer size
- version — Buffer to copy module version to
- versionLen — Maximum version buffer size
- status — Variable to store module status to
Returns
Module id on success, -1 on invalid module