SA-MP Forums Archive
[Include] [INC] Easy User Menu (EUM) v0.4 (Stable) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] Easy User Menu (EUM) v0.4 (Stable) (/showthread.php?tid=153944)

Pages: 1 2 3 4


Re: [INC] Easy User Menu (EUM) v0.2a - Luka P. - 12.06.2010

Quote:
Originally Posted by DarkPower
I make something like this before but this seems better then mine, nice Luka
Can we see it? :P
Thanks btw


Re: [INC] Easy User Menu (EUM) v0.2a - DarkPower - 12.06.2010

Quote:
Originally Posted by Luka™
Quote:
Originally Posted by DarkPower
I make something like this before but this seems better then mine, nice Luka
Can we see it? :P
Thanks btw
I didnt release, i have it on my PC somewhere i make that few months ago and i was used for my script so idk.


Re: [INC] Easy User Menu (EUM) v0.2a - Luka P. - 12.06.2010

Quote:
Originally Posted by DarkPower
Quote:
Originally Posted by Luka™
Quote:
Originally Posted by DarkPower
I make something like this before but this seems better then mine, nice Luka
Can we see it? :P
Thanks btw
I didnt release, i have it on my PC somewhere i make that few months ago and i was used for my script so idk.
Ah OK then


Re: [INC] Easy User Menu (EUM) v0.2a - Luka P. - 12.06.2010

Quote:
Originally Posted by ·!¦[·MaykoX·
¦!· ]
It's nice release, I'll probably use this.
Thanks, if you (or anyone else) find any bug please report it to me, but I'm pretty sure there are no bugs cuz I'm using this for a while.


Re: [INC] Easy User Menu (EUM) v0.2a - armyoftwo - 12.06.2010

going to use this!


Re: [INC] Easy User Menu (EUM) v0.2a - Luka P. - 12.06.2010

Quote:
Originally Posted by armyoftwo
going to use this!
Smart choice


Re: [INC] Easy User Menu (EUM) v0.2a - MrDeath537 - 12.06.2010

Very good , I like it


Re: [INC] Easy User Menu (EUM) v0.2a - Luka P. - 13.06.2010

Quote:
Originally Posted by MrDeath
Very good , I like it
Thanks, I'm currently simplyfing the way of creating an information. 0.3 will be up soon.


Re: [INC] Easy User Menu (EUM) v0.2a - ][Danee][ - 13.06.2010

Nice


Re: [INC] Easy User Menu (EUM) v0.3 (Improved) - Luka P. - 13.06.2010

[INC] Easy User Menu 0.3 is up now!
Please download the latest version of EUM include.


Re: [INC] Easy User Menu (EUM) v0.3 (Improved) - armyoftwo - 15.06.2010

when i try to compile, the pawno crashes. Does it happen to other people?


Re: [INC] Easy User Menu (EUM) v0.3 (Improved) - Luka P. - 16.06.2010

Quote:
Originally Posted by armyoftwo
when i try to compile, the pawno crashes. Does it happen to other people?
Everything works fine ( I tested on newly downloaded SA-MP Server Package before releasing ).


Re: [INC] Easy User Menu (EUM) v0.3 (Improved) - HydraX - 16.06.2010

So, the menu shows, but how can I get it to take effect, It doesn't seem to be working.
What button do I have to hit for the menu? 1? or /1?


Re: [INC] Easy User Menu (EUM) v0.3 (Improved) - Luka P. - 16.06.2010

Quote:
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.
It does work. You just have to read README.txt file
If you want effect (user interactive menu) then you need to INDENTIFY it

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



Re: [INC] Easy User Menu (EUM) v0.3 (Improved) - HydraX - 16.06.2010

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;
}



Re: [INC] Easy User Menu (EUM) v0.3 (Improved) - armyoftwo - 16.06.2010

the problem was that i had sscanf already in script


Re: [INC] Easy User Menu (EUM) v0.3 (Improved) - Luka P. - 16.06.2010

Quote:
Originally Posted by [R
HydraX ]
I did,
[pawn]
...
Then you should show the information like
ShowPlayerInformation(playerid, "Some title", "Some text - for ex. Choose an option~n~1. Hello~n~2. Bye", "something", "dummy", 2);



Re: [INC] Easy User Menu (EUM) v0.3 (Improved) - HydraX - 16.06.2010

It's exactly the same thing you posted in "README"


Re: [INC] Easy User Menu (EUM) v0.3 (Improved) - armyoftwo - 16.06.2010

Код:
ShowPlayerInformation(playerid, "Who you will be", "Create your character, select your sex.~n~1. Male~n~2. Female", "playerClick", "options", 2);
This doesnt seem to work
screen:
/imageshack/f/samp000ok.png/


Re: [INC] Easy User Menu (EUM) v0.3 (Improved) - HydraX - 16.06.2010

Quote:
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);
This doesnt seem to work
screen:
/imageshack/f/samp000ok.png/
Got that same problem as you.