get_module

Синтаксис

native get_module(id, name[], nameLen, author[], authorLen, version[], versionLen, &status);

Употреба

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

Описание

Retrieves info about a module by module index.

Забележка

For a list of possible status flags, see module_* constants in
amxconst.inc

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

Module id on success, -1 on invalid module