Menu of the journey - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Menu of the journey (
/showthread.php?tid=68041)
Menu of the journey -
P_I_M_P - 06.03.2009
Hi, help please to create the menu, I can not understand as this does.
Excuse me for my english I from Ukraine.
Help please Me (menu) -
P_I_M_P - 06.03.2009
Hi, help please to create the menu, I can not understand as this does.
Excuse me for my english I from Ukraine.
Re: Menu of the journey -
maij - 06.03.2009
new Menu:MENUVARIABLE;// this is the variable that will hold the menu for further use;
on a callback or function, sample ongamemodeinit, add the following
public OnGameModeInit()
{
// (title) (amount collumns) (coordinates and width + height)
MENUVARIABLE = CreateMenu("THE MENU TITLE", 1, 55.0, 200.0, 300.0, 240.0);
//(targetmenu) (collumn where it should be placed)(default = 0 (item text)
AddMenuItem(MENUVARIABLE, 0, "Itemsnumber 1");
AddMenuItem(MENUVARIABLE, 0, "Exit menu");
}
//to show it, simply
ShowMenuForPlayer(MENUVARIABLE,playerid);
Re: Menu of the journey -
P_I_M_P - 06.03.2009
shall presently try, thank you for earlier
Re: Menu of the journey -
P_I_M_P - 06.03.2009
works, but as actions to do?
Re: Menu of the journey -
CJ101 - 06.03.2009
http://forum.sa-mp.com/index.php?topic=44596.0
download. it pretty much writes the code for you.
Re: Menu of the journey -
Hot - 06.03.2009
[REMOVE]
I dosen't read the topic upon me xD
Re: Menu of the journey -
P_I_M_P - 07.03.2009
Thank you for help, I have understood as menu to create
Excuse me for my english.