mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
added status to get_module
This commit is contained in:
parent
96ab54a107
commit
864c6d6aa4
@ -536,10 +536,11 @@ native is_module_loaded(const name[]);
|
||||
* authorLen - maximal length of the author
|
||||
* version[] - the version of the module will be stored here
|
||||
* versionLen - maximal length of the version
|
||||
* status - the status of the module will be stored here
|
||||
* Return value:
|
||||
* id - success
|
||||
* -1 - module not found */
|
||||
native get_module(id, name[], nameLen, author[], authorLen, version[], versionLen);
|
||||
native get_module(id, name[], nameLen, author[], authorLen, version[], versionLen, &status);
|
||||
|
||||
/* Returns number of currently registered modules */
|
||||
native get_modulesnum();
|
||||
|
Loading…
Reference in New Issue
Block a user