AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Compile Error (https://forums.alliedmods.net/showthread.php?t=96196)

infek 07-01-2009 20:30

Compile Error
 
(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 };

fysiks 07-01-2009 22:21

Re: Compile Error
 
Quote:

Originally Posted by infek (Post 862137)
(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?

infek 07-01-2009 22:39

Re: Compile Error
 
it was on 24 but i added a deagle block so i changed it now to 25


All times are GMT -4. The time now is 15:33.

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