09.07.2014, 19:50
@Konstantinos : That's why I tried to use the array using this code :
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.
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;
}
As you've stated, the problem cames from the way he uses the array.