Here's the code (Tested):
Code:
TEXT* books_word = 
{
	pos_x = 100; //Edit this
	pos_y = 100; //Edit this
	font = "Arial#20";
	string = ("Books:");
	red = 50;
	green = 50;
	blue = 140;
	flags = SHOW;
}

PANEL* books_amount = 
{
	digits(135,100,5,"Arial#20",1,got_books); //Edit this
	digits(170,100,"/ %.0f","Arial#20",1,max_books); //Edit this
	flags = SHOW;
	red = 40;
	green = 80;
	blue = 225;
}