Raised This Month: $ Target: $400
 0% 

If false add to hudmessage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-21-2011 , 03:43   Re: If false add to hudmessage
Reply With Quote #1

Quote:
Originally Posted by nikhilgupta345 View Post
Didn't see this before but

PHP Code:
new notrdy[200] = "Not Ready:" 
->
PHP Code:
new notrdy[] = "Not Ready:" 
This suggestion is not correct. Maybe you didn't mean to do it, I don't know but it needs to be stated. If you declare it without a dimension it will only be as long as the assigned string (+1 for the terminator). So, in this case in the second php box it would only be 11 cells.
__________________
fysiks is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 07-21-2011 , 04:13   Re: If false add to hudmessage
Reply With Quote #2

Oh shit, didn't see that he was adding to notrdy later in the code. I thought he made another string to hold the HUD message.

Sorry.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
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 01:05.


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