When I include "cstrike.inc" like this:
PHP Code:
#define AMXMODX_NOAUTOLOAD
#include <cstrike>
I get this error:
Code:
Module/Library "cstrike" required for plugin. Check modules.ini.
When I add this:
PHP Code:
public plugin_natives()
{
register_library("cstrike")
}
then I get this error:
Code:
Plugin uses an unknown function (name "cs_set_user_money") - check your modules.ini.
I only use "cs_get_user_money" and "cs_set_user_money" when the mod is Counter-Strike so I don't want it to load "cstrike" module in other mods. How can I do that without editing "cstrike.inc"?
__________________