AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Unpausable plugin! (https://forums.alliedmods.net/showthread.php?t=134380)

totalcsscripting 08-04-2010 01:21

Unpausable plugin!
 
how can i do a plugin that when yo turn off amx it would still work.

I tried to mix it with pause cfg but no success.

Thanks you very much

Bello2 08-04-2010 01:54

Re: Unpausable plugin!
 
Quote:

Originally Posted by totalcsscripting (Post 1261190)
how can i do a plugin that when yo turn off amx it would still work.

I tried to mix it with pause cfg but no success.

Thanks you very much

In this way as i:

PHP Code:

#define PLUGIN    "name plugin"
#define AUTHOR    "name"
#define VERSION    "version"

public plugin_init()
{
  
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
plugin_cfg() {
    
    if(
is_plugin_loaded("Pause Plugins") != -1)
        
server_cmd("amx_pausecfg add ^"%s^""PLUGIN)



fysiks 08-04-2010 02:28

Re: Unpausable plugin!
 
You could edit pausecfg plugin.

totalcsscripting 08-04-2010 02:41

Re: Unpausable plugin!
 
thankss!


All times are GMT -4. The time now is 00:18.

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