SA-MP Forums Archive
Help with teleports - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with teleports (/showthread.php?tid=423990)



Help with teleports - [..MonTaNa..] - 20.03.2013

.....


Re: Help with teleports - xXRealLegitXx - 20.03.2013

Quote:
Originally Posted by MonTaNaAa
Посмотреть сообщение
whats the name of this dialog ?

im going to make admin menu list like:

Teleports > Bone County > LS > LV > SF > Interiors and so
Weapons
etc..

Sorry to inform you, no dialog of the sorts exist. All of the dialog styles are located on the SA:MP Wiki

However, DIALOG_STYLE_LIST is very close to that.


Respuesta: Help with teleports - Xabi - 20.03.2013

It's not a dialog, it's a menu

https://sampwiki.blast.hk/wiki/Creating_a_simple_Menu


Re: Help with teleports - [..MonTaNa..] - 20.03.2013

Ideas how I can create one? Can't find it anywhere


Re: Help with teleports - [ABK]Antonio - 20.03.2013

Quote:
Originally Posted by MonTaNaAa
Посмотреть сообщение
Ideas how I can create one? Can't find it anywhere
Xabi gave you a link =/


Re: Help with teleports - Denying - 20.03.2013

What makes a menu different from a dialog?


Re: Help with teleports - Misiur - 20.03.2013

Limit of 12 elements, two columns, and a fact that it is a menu, not a dialog.


Re: Help with teleports - Denying - 20.03.2013

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Limit of 12 elements, two columns, and a fact that it is a menu, not a dialog.
I see.. 2 columns is the main difference, I assume..

Thank you for your reply.


Re: Help with teleports - Threshold - 20.03.2013

Well... if it wasn't at all possible to see, the APPEARANCE of it. You can select items using 'spacebar' rather than clicking an item. Items are more in row and column form, and you can have more than one option on a single line. You use the arrow keys to select an items, and press Enter/Return to close the menu. Each of these actions has their own callback such as OnPlayerExitMenu. Simple enough if you know what to search for, it's very easy to create a menu with the right research...


Re: Help with teleports - Denying - 20.03.2013

Ye, I got it, I just never heard of menus before. Thank you for your reply as well.