Raised This Month: $ Target: $400
 0% 

How to register a CVAR?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-26-2011 , 16:00   Re: How to register a CVAR?
Reply With Quote #1

Quote:
Originally Posted by Diegorkable View Post
But, lets say I have a plugin, and it goes through some functions, in order ofcourse. what I want is to register a cvar that can be edited ingame, that if you put 0 or 1, when the plugin runs, it'll skip or do the function according to what the cvar value is. and I want that CVAR to not change after map change, how do I do that?
You make a cvar. That's it.
__________________
fysiks is offline
Reply



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 01:09.


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