Raised This Month: $ Target: $400
 0% 

How to achieve the same result without cvar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Abhinash
Senior Member
Join Date: Jan 2015
Location: India,kolkata
Old 06-08-2020 , 03:34   How to achieve the same result without cvar
Reply With Quote #1

Hey there everyone.
So, I don't want to use cvars in my plugins.
Thats why I want to know how to achieve the same result without using cvar.
I did some with normal variables, but I am not able to do proper expression which checking the switch cvars ( 0 and 1 eg. amx_on ).
So can you guys help me out.

I have a variable amx_glow set to 1.
Now, I want to make a check in a function. Can you tell me how to do the proper check with a small example code ?
Thanks.
Abhinash 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 16:49.


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