roleplay.pwn(1029) : error 052: multi-dimensional arrays must be fully initialized
#1

Код:
(1024) : error 052: multi-dimensional arrays must be fully initialized
1029) : error 052: multi-dimensional arrays must be fully initialized


new const Float:arrHospitalDeliver[6][3] = {
    {-334.9757, 1063.0171, 19.7392}
    
Line1024:   };

new const Float:arrHospitalSpawns[6][4] = {
	{-318.8799, 1049.2433, 20.3403, 0.0000}
	
Line 1029:   };
Reply
#2

replace size of column and row in empty indexes
[][]
PHP код:
new const Float:arrHospitalDeliver[][] = {
    {-
334.97571063.017119.7392}
    
}; 
PHP код:
new const Float:arrHospitalSpawns[][] = {
    {-
318.87991049.243320.34030.0000}
    
}; 
Reply
#3

did not work
Reply
#4

PHP код:
new const Float:arrHospitalDeliver[] = { 
    {-
334.97571063.017119.7392
     
};  
new const 
Float:arrHospitalSpawns[] = { 
    {-
318.87991049.243320.34030.0000
     
}; 
Get rid of the empty "[]"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)