help with menus
#1

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



Код:
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;
}
}
Reply


Messages In This Thread
help with menus - by WardenCS - 05.04.2010, 16:34
Re: help with menus - by WardenCS - 05.04.2010, 17:51
Re: help with menus - by Steven82 - 05.04.2010, 21:06
Re: help with menus - by Khelif - 05.04.2010, 21:25
Re: help with menus - by WardenCS - 09.04.2010, 22:55

Forum Jump:


Users browsing this thread: 1 Guest(s)