Dini Get
#1

Everytime I compile, I get this error:


PHP код:
(4935) : error 047: array sizes do not match, or destination array is too small
(4936) : error 047: array sizes do not match, or destination array is too small
(4937) : error 047: array sizes do not match, or destination array is too small
(4938) : error 047: array sizes do not match, or destination array is too small 
This is the lines the errors are on

PHP код:
            Player[playerid][CarPlate] = dini_Get(string"CarPlate");
            
Player[playerid][CarPlate2] = dini_Get(string"CarPlate2");
            
Player[playerid][CarPlate3] = dini_Get(string"CarPlate3");
            
Player[playerid][CarPlate4] = dini_Get(string"CarPlate4");
            
Player[playerid][CarPlate5] = dini_Get(string"CarPlate5"); 
and this is my enum:

PHP код:
        CarPlate[100],
    
CarPlate2[100],
    
CarPlate3[100],
    
CarPlate4[100],
    
CarPlate5[100], 
Reply
#2

It's probably too small. Make the string size bigger.
Reply
#3

Quote:
Originally Posted by Dwane
Посмотреть сообщение
It's probably too small. Make the string size bigger.
Thanks, Worked.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)