Warning: more initiallers than enum fields
#4

@Konstantinos : That's why I tried to use the array using this code :

PHP код:

public OnFilterScriptInit()
{
    
printf("%s"Inventory[0][INV_NAME]);
    
printf("%d"Inventory[0][INV_WEIGHT]);
    
printf("%d"Inventory[0][INV_MODEL]);
    
printf("%f"Inventory[0][INV_MODEL_ZOOM]);
    
printf("%f"Inventory[0][INV_MODEL_ROOTX]);
    
printf("%f"Inventory[0][INV_MODEL_ROOTY]);
    
printf("%f"Inventory[0][INV_MODEL_ROOTZ]);
    return 
1;

But the only change that I noticed was that the warning : unused symbol was removed.
As you've stated, the problem cames from the way he uses the array.
Reply


Messages In This Thread
Warning: more initiallers than enum fields - by KesaSport - 09.07.2014, 19:23
Re : Warning: more initiallers than enum fields - by S4t3K - 09.07.2014, 19:31
Re: Warning: more initiallers than enum fields - by Konstantinos - 09.07.2014, 19:35
Re : Warning: more initiallers than enum fields - by S4t3K - 09.07.2014, 19:50
Respuesta: Warning: more initiallers than enum fields - by Zume - 09.07.2014, 21:07
Re: Warning: more initiallers than enum fields - by KesaSport - 10.07.2014, 10:37
Re: Warning: more initiallers than enum fields - by KesaSport - 10.07.2014, 11:16

Forum Jump:


Users browsing this thread: 2 Guest(s)