05.04.2010, 16:34
Hello,i have problem,i made some menus,but if i use cmd to enter the menu,it will show options,but when i click on them,they wont work
heres the code
heres the code
Код:
if(CurrentMenu == Information) { switch(row) { case 0: { SendClientMessage(playerid,COLOR_WHITE,"Welcome to University" uniname); TogglePlayerControllable(playerid, 1); return 1; } case 1: { SendClientMessage(playerid,COLOR_WHITE,"0.00 : Mathematics"); SendClientMessage(playerid,COLOR_WHITE,"1.00 : English"); SendClientMessage(playerid,COLOR_WHITE,"2.00 : Biology"); TogglePlayerControllable(playerid, 1); return 1; } case 2: { //SendClientMessage(playerid,COLOR_WHITE,"Mathematics: "MathMark); //SendClientMessage(playerid,COLOR_WHITE,"English: "EngMark); //SendClientMessage(playerid,COLOR_WHITE,"Biology: "BioMark); TogglePlayerControllable(playerid, 1); return 1; } case 3: { ShowMenuForPlayer(Buy,playerid); SetPlayerInterior(playerid,15); TogglePlayerControllable(playerid, 0); return 1; } }