Raised This Month: $ Target: $400
 0% 

Condition on cvar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-01-2020 , 01:28   Re: Condition on cvar
Reply With Quote #4

From a psuedo-code perspective it looks fine, you are retrieving the cvar pointer from an existing cvar at plugin_cfg() and using it in your menu callback. Is it not working? Did you debug at all by console/server printing the get_pcvar_num() return value?
__________________

Last edited by Bugsy; 01-01-2020 at 14:22. Reason: Corrected plugin_init to cfg
Bugsy 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 02:43.


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