register_module -> require_module
This commit is contained in:
parent
a055d3d373
commit
90eafe59a6
@ -2765,7 +2765,7 @@ AMX_NATIVE_INFO amxmod_Natives[] = {
|
|||||||
{ "register_logevent",register_logevent},
|
{ "register_logevent",register_logevent},
|
||||||
{ "register_menucmd", register_menucmd },
|
{ "register_menucmd", register_menucmd },
|
||||||
{ "register_menuid", register_menuid },
|
{ "register_menuid", register_menuid },
|
||||||
{ "register_module", register_module },
|
{ "require_module", register_module },
|
||||||
{ "register_plugin", register_plugin },
|
{ "register_plugin", register_plugin },
|
||||||
{ "register_srvcmd", register_srvcmd },
|
{ "register_srvcmd", register_srvcmd },
|
||||||
{ "remove_cvar_flags", remove_cvar_flags },
|
{ "remove_cvar_flags", remove_cvar_flags },
|
||||||
|
@ -107,7 +107,7 @@ public plugin_init() {
|
|||||||
#if defined USING_SQL
|
#if defined USING_SQL
|
||||||
public plugin_modules()
|
public plugin_modules()
|
||||||
{
|
{
|
||||||
register_module("DBI")
|
require_module("DBI")
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -85,3 +85,8 @@ public getPing(id) {
|
|||||||
g_pingSum[ id ] += iPing
|
g_pingSum[ id ] += iPing
|
||||||
++g_pingCount[ id ]
|
++g_pingCount[ id ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public plugin_modules()
|
||||||
|
{
|
||||||
|
require_module("csstats")
|
||||||
|
}
|
@ -1642,3 +1642,8 @@ public client_connect( id ) {
|
|||||||
|
|
||||||
return PLUGIN_CONTINUE
|
return PLUGIN_CONTINUE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public plugin_modules()
|
||||||
|
{
|
||||||
|
require_module("csstats")
|
||||||
|
}
|
@ -651,4 +651,4 @@ native plugin_flags();
|
|||||||
|
|
||||||
forward plugin_modules();
|
forward plugin_modules();
|
||||||
|
|
||||||
native register_module(const module[]);
|
native require_module(const module[]);
|
@ -55,7 +55,7 @@ public plugin_init() {
|
|||||||
|
|
||||||
public plugin_modules()
|
public plugin_modules()
|
||||||
{
|
{
|
||||||
register_module("fun")
|
require_module("fun")
|
||||||
}
|
}
|
||||||
|
|
||||||
public actionTelMenu(id,key) {
|
public actionTelMenu(id,key) {
|
||||||
|
Loading…
Reference in New Issue
Block a user