Raised This Month: $ Target: $400
 0% 

Solved get_cvar_string( returns empty string for amx_* cvars


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-17-2023 , 23:21   Re: get_cvar_string( returns empty string for amx_* cvars
Reply With Quote #1

Technically, get_cvar_string() doesn't return anything (strings are populated by reference) but I can't tell if that's what you're doing because you didn't provide any code to look at . . .

Have you verified that the cvar has the value in it at all? It looks like AMX Mod X's default admin plugin executes this file in plugin_init() so you shouldn't expect it before then. In fact, you should probably not do anything with your custom code until plugin_cfg() (or the newer version of it). If you're not running the default AMX Mod X admin plugin, are you sure it's getting executed at all?
__________________
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 00:33.


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