Menu of the journey
#1

Hi, help please to create the menu, I can not understand as this does.

Excuse me for my english I from Ukraine.
Reply
#2

Hi, help please to create the menu, I can not understand as this does.

Excuse me for my english I from Ukraine.
Reply
#3

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

shall presently try, thank you for earlier
Reply
#5

works, but as actions to do?
Reply
#6

http://forum.sa-mp.com/index.php?topic=44596.0

download. it pretty much writes the code for you.
Reply
#7

[REMOVE]

I dosen't read the topic upon me xD
Reply
#8

Thank you for help, I have understood as menu to create

Excuse me for my english.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)