Raised This Month: $ Target: $400
 0% 

Code to toggle plugin on and off


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
petomatick
Member
Join Date: Sep 2010
Old 10-05-2010 , 07:31   Code to toggle plugin on and off
Reply With Quote #1

Well, hello people! I'm just wondering. Whats the code to be able to toggle a plugin on and off by using a server command.
Like maby sm_toggle_(plugin) 0/1.
The mod i was planning to make is named for example "logitech" (lol) and the command i would like to be able to toggle the mod is
"sm_logitech 0/1"
petomatick 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 20:44.


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