Thread
:
Code to toggle plugin on and off
View Single Post
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
10-07-2010 , 21:25 Re: Code to toggle plugin on and off
#
2
Add this to any actions the plugin will run.
PHP Code:
if(
GetConVarInt
(
HandleToYourCVAR
) ==
1
)
{
//Your actions
}
__________________
My Website
|
My Plugins
|
Donate
|
BitBucket
|
Try Dropbox
|
sURLy
McFlurry
View Public Profile
Send a private message to McFlurry
Find More Posts by McFlurry