Raised This Month: $ Target: $400
 0% 

Array Must Be Indexed. :/


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 10-16-2005 , 08:24  
Reply With Quote #4

Perhaps unrelated to your question, but a problem all the same...
Code:
format(wmsg, 224, "[Stormsys] %s", get_cvar_num("sshp_welcomemsg"))
You should either change %s to %i (or %d) or you should change get_cvar_num(...) to get_cvar_str(...).

Actually, I see you are consistently using get_cvar_num where it appears you should be using get_cvar_str. In the code you've shown us, change all occurences of get_cvar_num to get_cvar_str. Be sure to look the function up though, because the arguments you pass are slightly different.
Brad 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 23:39.


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