View Single Post
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-10-2012 , 14:15   Re: Error 052: Multi-dimensional arrays must be fully initialized
Reply With Quote #4

PHP Code:
new g_iWeapCount 11

new g_iWeapName[g_iWeapCount][] =
{
    
"weapon_fiveseven",
    
"weapon_deagle",
    
"weapon_awp",
    
"weapon_m3",
    
"weapon_m4a1",
    
"",
    
"weapon_hegrenade",
    
"",
    
"",
    
"",
    
""
}

new const 
g_iWeapShort[g_iWeapCount][] =
{
    
"%",
    
"%",
    
"%",
    
"%",
    
"%",
    
"%",
    
" Bullets",
    
" Bullets",
    
" Bullets",
    
" Bullets",
    
" Bullets"

You must define all of the values in the array
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline