SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 06/03/2009, 05:37 PM   #1
P_I_M_P
Little Clucker
 
Join Date: Feb 2009
Posts: 6
Reputation: 0
Default Menu of the journey

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

Excuse me for my english I from Ukraine.
P_I_M_P is offline  
Old 06/03/2009, 05:41 PM   #2
P_I_M_P
Little Clucker
 
Join Date: Feb 2009
Posts: 6
Reputation: 0
Default Help please Me (menu)

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

Excuse me for my english I from Ukraine.
P_I_M_P is offline  
Old 06/03/2009, 05:52 PM   #3
maij
Big Clucker
 
Join Date: Nov 2008
Posts: 180
Reputation: 0
Default Re: Menu of the journey

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);
maij is offline  
Old 06/03/2009, 06:00 PM   #4
P_I_M_P
Little Clucker
 
Join Date: Feb 2009
Posts: 6
Reputation: 0
Default Re: Menu of the journey

shall presently try, thank you for earlier
P_I_M_P is offline  
Old 06/03/2009, 06:09 PM   #5
P_I_M_P
Little Clucker
 
Join Date: Feb 2009
Posts: 6
Reputation: 0
Default Re: Menu of the journey

works, but as actions to do?
P_I_M_P is offline  
Old 06/03/2009, 07:51 PM   #6
CJ101
High-roller
 
CJ101's Avatar
 
Join Date: Jan 2008
Location: RevolutionX
Posts: 1,758
Reputation: 162
Default Re: Menu of the journey

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

download. it pretty much writes the code for you.
__________________
I have left SA-MP. Thanks for a great ten years.
CJ101 is offline  
Old 06/03/2009, 09:09 PM   #7
Hot
Huge Clucker
 
Join Date: Feb 2009
Posts: 375
Reputation: 3
Default Re: Menu of the journey

[REMOVE]

I dosen't read the topic upon me xD
Hot is offline  
Old 07/03/2009, 06:46 AM   #8
P_I_M_P
Little Clucker
 
Join Date: Feb 2009
Posts: 6
Reputation: 0
Default Re: Menu of the journey

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

Excuse me for my english.
P_I_M_P is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS]Weapon Menu + Player Menu + Vehicle Menu! [Good For Stunt Server] AlexHitman Filterscripts 4 27/07/2014 08:34 PM
[FS/MAP]Journey Interior. [NYRP]Mike. Filterscripts 18 13/08/2011 03:37 AM
[FilterScript] [FS] Journey Interior Beta xxjackoxx Filterscripts 10 05/04/2010 05:24 PM
[FS/MAP]Journey interior! [NYRP]Mike. Filterscripts 8 14/01/2010 08:21 PM
[FilterScript] [FS] Journey Interior - By Cozza & Joe XxJoexX Filterscripts 18 10/10/2009 12:33 PM


All times are GMT. The time now is 02:48 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.