Raised This Month: $ Target: $400
 0% 

Array Must Be Indexed. :/


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 10-16-2005 , 10:07  
Reply With Quote #7

Brad just said you cannot use get_cvar_str the same way.

Don't use it like this
Code:
if(!get_cvar_str("sshp_welcomemsg")=="") {         // }

Use this
Code:
    new str[64];     get_cvar_string("sshp_welcomemsg",str,63);         if(!str || !get_cvar_num("WHATEVER YOUR ON / OFF CVAR IS")     {         return 0;     }
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
 



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 23:39.


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