Raised This Month: $ Target: $400
 0% 

AMX ON OFF


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
totalcsscripting
BANNED
Join Date: Jul 2010
Old 08-17-2010 , 19:24   AMX ON OFF
#1

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)
    }

totalcsscripting is offline
 



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 21:52.


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