Posted By: JakeBilbe
if (key_t) to open menu? - 06/05/11 00:51
I want an in game menu to be accessible by pressing t I have set the code and everything but it wont show up, I get no syntax errors so here is the panel code and the function statement I am using in the main.c script not the player.c:
Code:
PANEL* main_pan = { bmap = "main.png"; pos_x = 250; pos_y = 200; } function escape_menu() { if (key_t) set (main_pan, OVERLAY | SHOW); }