Raised This Month: $ Target: $400
 0% 

AMX ON OFF


Post New Thread Closed Thread   
 
Thread Tools Display Modes
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
Old 08-18-2010, 01:18
Kreation
This message has been deleted by Kreation. Reason: nvm, saw in a diff thread.
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-18-2010 , 11:03   Re: AMX ON OFF
#2

Do not cross post....... Locked
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Closed Thread



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