#1

how to do this kind of menu in the right corner below? and the white commands?


/imageshack/img216/8513/samp001q.png
Reply
#2

It's a menu.

Step by step: https://sampwiki.blast.hk/wiki/Creating_a_simple_Menu

This is very good as well:

http://forum.sa-mp.com/index.php?topic=44596.0
made by Mack[HD]



Reply
#3

You think I'm dumb right? I know how to create menu's read again what i posted above How to cREATE IN THE CORNER AND THE WHITE COMMANDS I know how to do menu's except look what i am asking for
Reply
#4

i never said that you were dumb. If you were not dumb you would know that the position of the menu depends on the x,y position and width of the menu.

So find your
pawn Код:
CreateMenu(title, columns, Float:x, Float:y, Float:col1width, Float:col2width);
and change the argument values that you do have. Fiddle around with the values and adjust it. It's gonna be hard for someone to tell you the exact x,y positions as it depends also on the width and height of your menu. There is no Align feature for menu's.

Also, for the white 'commands' texts use the ~w~ before your text.

For example:

You have:
pawn Код:
AddMenuItem(teleportmenu, 1, "Grove Street");
change it to:
pawn Код:
AddMenuItem(teleportmenu, 1, "~w~Grove Street");
to get the white.

Hope that helps.
Reply
#5

well but how to get the coordinates then?
Reply
#6

Either trial and error (they're based on a 640 x 480 screen I believe) or you use a program like this:

http://dev.sacnr.com/samp_textdraws.html

It's designed for Textdraws, but it should still give you the co-ordinates of the top left hand corner of a thing
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)