[Include] [INC] Easy User Menu (EUM) v0.4 (Stable)
#21

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
Reply
#22

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.
Reply
#23

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
Reply
#24

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.
Reply
#25

going to use this!
Reply
#26

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

Very good , I like it
Reply
#28

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.
Reply
#29

Nice
Reply
#30

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

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

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 ).
Reply
#33

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?
Reply
#34

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;
}
Reply
#35

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;
}
Reply
#36

the problem was that i had sscanf already in script
Reply
#37

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);
Reply
#38

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

Код:
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/
Reply
#40

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.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)