18.06.2010, 02:31
When I put this code,
"Type /sell" comes up even though I haven't pressed the 2.
pawn Код:
if(EUM_Indentify(playerid, 10)) // New function EUM_Indentify - used to indentify the menu
{
switch(option) // lets switch between options
{
case 1: // option 1 - Stunts
{
SendClientMessage(playerid, 0xF60000AA, "Type /buy to buy a home.");
}
case 2: // option 2 - Jumps
{
SendClientMessage(playerid, 0xF60000AA, "Type /sell to sell your home and put it up on Market.");
}
case 3: // option 3 - Parkour
{
SendClientMessage(playerid, 0xF60000AA, "Type /enter to enter your house.");
}
case 4: // option 4 - Race
{
SendClientMessage(playerid, 0xF60000AA, "Type /exit to leave your house.");
}
case 5: // option 5 - Other
{
EUM_ShowForPlayer(playerid, 9, "Commands", "Choose an option~n~1. Help~n~2. House Information~n~3. Vehicle Commands", 3);
}
}
}

