Lets say I have a menu and i have defined item costs :
Code:
#define COST1 100
#define COST2 300
#define COST3 100
#define COST4 1201
#define COST5 1070
And later on I user them e.g.
Code:
client_print(id, print_center, "This item costs : %d", COST1);
I want to make a new file costs.ini and read COST1, COST2, COST3 and COST4 from there , how can I do that ? Could you please provide an example?