AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   AMX ON OFF (https://forums.alliedmods.net/showthread.php?t=135609)

totalcsscripting 08-17-2010 19:24

AMX ON OFF
 
I created a cvar, which if it is 1, the plugin still works with amx_off, and if it is 0, it doesn't.

But i can't make it workk!

PHP Code:

mix register_cvar("totalcs_mix","0")

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



YamiKaitou 08-18-2010 11:03

Re: AMX ON OFF
 
Do not cross post....... Locked


All times are GMT -4. The time now is 21:52.

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