Hello. After I prepared everything needed (Metamod, AMXX, HL SDK) and compiled module, I faced the problem:
Code:
[AMXX] Plugin "test.amxx" failed to load: Module/library 'tst' required for plugin. Check modules.ini
Also, in output of 'amxx modules' my module has 'newer' status. Is this a sing of bad?
How I requere module from pawn code:
Code:
#if AMXX_VERSION_NUM >= 175
#pragma reqlib tst
#if !defined AMXMODX_NOAUTOLOAD
#pragma loadlib tst
#endif
#else
#pragma library tst
#endif
moduleconfig.h
Code:
// Module info
#define MODULE_NAME "Testing"
#define MODULE_VERSION "1.0.0"
#define MODULE_AUTHOR "SNMetamorph"
#define MODULE_URL "nop"
#define MODULE_LOGTAG "TST"
#define MODULE_LIBRARY "tst"
#define MODULE_LIBCLASS "tst"
Compilation are completed without any warnings or errors.
Thanks.