Raised This Month: $51 Target: $400
 12% 

Compile Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 07-01-2009 , 20:30   Compile Error
Reply With Quote #1

(452) : error 052: multi-dimensional arrays must be fully initialized

1 error.

};

new const gszBlockValueNames[gBlockMax][32] =
{
WORTHLESS_STR,
"Time Delay",
"Damage/sec",
"Heal/sec",
WORTHLESS_STR,
"Friction",
"Jump Velocity",
"Speed Velocity",
"Time",
"Time",
WORTHLESS_STR,
WORTHLESS_STR,
"Time",
"Gravity Percentage",
"Damage/sec",
WORTHLESS_STR,
"Random",
"Max Speed",
"Time Delay",
"Time Delay",
"Time",
"Withless",
"Time Delay",
"Time"
};

new const gszBlockNames[gBlockMax][32] =
{


line 452 is below "Time" which is };
__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret
infek is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-01-2009 , 22:21   Re: Compile Error
Reply With Quote #2

Quote:
Originally Posted by infek View Post
(452) : error 052: multi-dimensional arrays must be fully initialized
Just read the error. You need gBlockMax slots in the variable initialized. I.E. you need gBlockMax strings.

Is gBlockMax == 24?
__________________
fysiks is offline
infek
Senior Member
Join Date: May 2009
Location: Behind you
Old 07-01-2009 , 22:39   Re: Compile Error
Reply With Quote #3

it was on 24 but i added a deagle block so i changed it now to 25
__________________
"Domo Arigato, Mr. Roboto!"
PM me if you want to know a secret
infek 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 02:31.


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