Raised This Month: $51 Target: $400
 12% 

Load unpause amxx module.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
4ever16
Veteran Member
Join Date: Apr 2015
Old 08-19-2015 , 22:50   Load unpause amxx module.
Reply With Quote #1

How do i turn off and on amxx and metamod modules?

What i need this for is to to turn off CSX module so it doesnt count stats if ceratain .cfg is loaded.

What these commands do. Well it turns off the module in meta list but not in amx_modules

meta pause csx_amxx_i386.so
meta force_unload csx_amxx_i386.so
meta unload csx_amxx_i386.so




And how do i load it again?
I think if i know how to really turn off these modules i could turn it on by my self.

Last edited by 4ever16; 04-25-2018 at 23:48.
4ever16 is offline
4ever16
Veteran Member
Join Date: Apr 2015
Old 12-11-2015 , 09:43   Re: Load unpause amxx module.
Reply With Quote #2

Bumping!
4ever16 is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 12-11-2015 , 23:09   Re: Load unpause amxx module.
Reply With Quote #3

Metamod commands wont work on amxx modules.
Pulled out these from metamod source.
<php>
// Parse "meta" console command.
void DLLHIDDEN svr_meta(void) {
const char *cmd;
cmd=CMD_ARGV(1);
// arguments: none
if(!strcasecmp(cmd, "version"))
cmd_meta_version();
else if(!strcasecmp(cmd, "gpl"))
cmd_meta_gpl();
else if(!strcasecmp(cmd, "refresh"))
cmd_meta_refresh();
else if(!strcasecmp(cmd, "list"))
cmd_meta_pluginlist();
else if(!strcasecmp(cmd, "cmds"))
cmd_meta_cmdlist();
else if(!strcasecmp(cmd, "cvars"))
cmd_meta_cvarlist();
else if(!strcasecmp(cmd, "game"))
cmd_meta_game();
else if(!strcasecmp(cmd, "config"))
cmd_meta_config();
// arguments: existing plugin(s)
else if(!strcasecmp(cmd, "pause"))
cmd_doplug(PC_PAUSE);
else if(!strcasecmp(cmd, "unpause"))
cmd_doplug(PC_UNPAUSE);
else if(!strcasecmp(cmd, "unload"))
cmd_doplug(PC_UNLOAD);
else if(!strcasecmp(cmd, "force_unload"))
cmd_doplug(PC_FORCE_UNLOAD);
else if(!strcasecmp(cmd, "reload"))
cmd_doplug(PC_RELOAD);
else if(!strcasecmp(cmd, "retry"))
cmd_doplug(PC_RETRY);
else if(!strcasecmp(cmd, "clear"))
cmd_doplug(PC_CLEAR);
else if(!strcasecmp(cmd, "info"))
cmd_doplug(PC_INFO);
else if(!strcasecmp(cmd, "require"))
cmd_doplug(PC_REQUIRE);
// arguments: filename, description
else if(!strcasecmp(cmd, "load"))
cmd_meta_load();
#ifdef META_PERFMON
else if(!strcasecmp(cmd, "tsc"))
cmd_meta_tsc();
else if(!strcasecmp(cmd, "reset_tsc"))
cmd_meta_reset_tsc();
#endif /*META_PERFMON*/
// unrecognized
else {
META_CONS("Unrecognized meta command: %s", cmd);
cmd_meta_usage();
return;
}
}
</php>

Command names are self explanatory.

Anyways you can turn off modules in amxmodx/configs/modules.ini .. put ; in front of the module you don't want to use.
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
4ever16
Veteran Member
Join Date: Apr 2015
Old 12-12-2015 , 05:54   Re: Load unpause amxx module.
Reply With Quote #4

...

Last edited by 4ever16; 04-25-2018 at 23:48.
4ever16 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode