12.06.2010, 12:45 
	
	
	Quote:
| 
					Originally Posted by DarkPower  I make something like this before but this seems better then mine, nice Luka | 
Thanks btw
| 
					Originally Posted by DarkPower  I make something like this before but this seems better then mine, nice Luka | 
| 
					Originally Posted by Luka™  Quote: 
 Thanks btw | 
| 
					Originally Posted by DarkPower  Quote: 
 | 
| 
					Originally Posted by ·!¦[·MaykoX· ¦!· ] It's nice release, I'll probably use this. | 
| 
					Originally Posted by armyoftwo  going to use this! | 
 
	 , I like it
, I like it
	| 
					Originally Posted by MrDeath  Very good   , I like it | 
 
	| 
					Originally Posted by armyoftwo  when i try to compile, the pawno crashes. Does it happen to other people? | 
| 
					Originally Posted by [R HydraX ] So, the menu shows, but how can I get it to take effect, It doesn't seem to be working. | 

// somewhere in code
ShowPlayerMenu(playerid, "bla bla", "bla bla", "mycategory", "mysubcategory", 17);
// mycategory is our category now - it can be anything
// mysubcategory is our subcategory now - it can be anything
// 17 is number of options player can choose - it can be anything
// somewhere else in code
public OnPlayerResponse(playerid, chosen)
{
if(EUM_Indentify(playerid, "mycategory", "mysubcategory"))
{
switch(chosen)
{
case 1: /* this is option 1 */ { /* effect */ }
case 2: /* this is option 2 */ { /* effect */ }
case 3: /* this is option 3 */ { /* effect */ }
case 4: /* this is option 4 */ { /* effect */ }
case 5: /* this is option 5 */ { /* effect */ }
case 6: /* this is option 6 */ { /* effect */ }
// up to 17 options now
}
}
return 1;
}
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;
}
| 
					Originally Posted by [R HydraX ] I did, [pawn] ... | 
ShowPlayerInformation(playerid, "Who you will be", "Create your character, select your sex.~n~1. Male~n~2. Female", "playerClick", "options", 2);
| 
					Originally Posted by armyoftwo  Код: ShowPlayerInformation(playerid, "Who you will be", "Create your character, select your sex.~n~1. Male~n~2. Female", "playerClick", "options", 2); screen: /imageshack/f/samp000ok.png/ |