16.06.2010, 14:55
I did,
pawn Код:
public OnPlayerResponse(playerid, chosen)
{
if(EUM_Indentify(playerid, "something", "dummy")) // New function EUM_Indentify - used to indentify the menu
{
switch(chosen)
{
case 1: // option 1 - Hello
{
SendClientMessage(playerid, 0xD40000AA, "hello!");
}
case 2: // option 2 - Bye
{
SendClientMessage(playerid, 0xD40000AA, "bye!");
}
}
}
HidePlayerInformation(playerid);
return 1;
}