SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 24/12/2009, 08:47 PM   #21
Daren_Jacobson
Huge Clucker
 
Join Date: Jun 2008
Posts: 425
Reputation: 6
Default Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!)

Quote:
Originally Posted by Niixie
Thank you
I dont use Case myself because i think its messy
Maybe its faster but, i use DCMD to commands so the slow dialogs will be alright
dcmd is slower than just a simple strcmp, due to the fact that dcmd uses strcmp and does other stuff along with it. (like calling a function)

@karkanos
pawn Code:
ShowPlayerDialog(playerid, 1487, DIALOG_STYLE_INPUT, "Fat Factory - Choose an ID", "ID\tItem\t\t\tPrice\n\n1\tKids Meal\t\t\t$1\n2\tMedium Meal\t\t\t$6\n3\tHuge Meal\t\t\t$10\n4\tSalad Meal\t\t\t$10", "Buy", "Close");
// or better method
ShowPlayerDialog(playerid, 1487, DIALOG_STYLE_LIST, "Fat Factory - Choose a item", "Kids Meal\t\t\t$1\nMedium Meal\t\t\t$6\nHuge Meal\t\t\t$10\nSalad Meal\t\t\t$10", "Buy", "Close");
__________________
Daren_Jacobson is offline   Reply With Quote
Old 07/01/2010, 01:46 AM   #22
deather
Huge Clucker
 
deather's Avatar
 
Join Date: Dec 2009
Location: India
Posts: 370
Reputation: 2
Default Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!)

Hey man this is a nice tutorial. But when i click the quit/cancel button it kicks me from the server. How to solve this problem?
deather is offline   Reply With Quote
Old 07/01/2010, 02:36 AM   #23
HydraX
Gangsta
 
Join Date: Mar 2009
Location: Don`t stalk me..
Posts: 965
Reputation: 18
Default Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!)

Awesome tut
__________________
kthxbai.
http://pastebin.com/cLxes1HM

West Coast Generation - Alpha [0.3e]
108.213.37.171:7777
HydraX is offline   Reply With Quote
Old 24/02/2010, 09:14 PM   #24
Scenario
Godfather
 
Scenario's Avatar
 
Join Date: Feb 2010
Location: Heaven
Posts: 8,103
Reputation: 701
Default Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!)

Is there a way to make it so it doesn't come up all the time? Like maybe once every game month?
Scenario is offline   Reply With Quote
Old 24/02/2010, 09:15 PM   #25
Niixie
Gangsta
 
Niixie's Avatar
 
Join Date: Aug 2008
Location: Denmark
Posts: 526
Reputation: 3
Default Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!)

How do you mean?
__________________
Code:
 ____      __    __    __    ___       ___    __    ________
|    \    |  |  |  |  |  |  \   \     /   /  |  |  |   _____|
|     \   |  |  |  |  |  |   \   \_ _/   /   |  |  |  |
|  |\  \  |  |  |  |  |  |    \    |    /    |  |  |  |__
|  | \  \ |  |  |  |  |  |    /   _|_   \    |  |  |   __|
|  |  \  \|  |  |  |  |  |   /   /   \   \   |  |  |  |_____
|__|   \_____|  |__|  |__|  /___/     \___\  |__|  |________|
Niixie is offline   Reply With Quote
Old 24/02/2010, 09:19 PM   #26
Scenario
Godfather
 
Scenario's Avatar
 
Join Date: Feb 2010
Location: Heaven
Posts: 8,103
Reputation: 701
Default Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!)

Quote:
Originally Posted by Niixie
How do you mean?
Like, you dont have to click Continue every time you go on to the server. Only once per player...
Scenario is offline   Reply With Quote
Old 24/02/2010, 09:37 PM   #27
Niixie
Gangsta
 
Niixie's Avatar
 
Join Date: Aug 2008
Location: Denmark
Posts: 526
Reputation: 3
Default Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!)

I guess not. Thats the only way i think.
__________________
Code:
 ____      __    __    __    ___       ___    __    ________
|    \    |  |  |  |  |  |  \   \     /   /  |  |  |   _____|
|     \   |  |  |  |  |  |   \   \_ _/   /   |  |  |  |
|  |\  \  |  |  |  |  |  |    \    |    /    |  |  |  |__
|  | \  \ |  |  |  |  |  |    /   _|_   \    |  |  |   __|
|  |  \  \|  |  |  |  |  |   /   /   \   \   |  |  |  |_____
|__|   \_____|  |__|  |__|  /___/     \___\  |__|  |________|
Niixie is offline   Reply With Quote
Old 28/02/2010, 09:23 PM   #28
addinol
Big Clucker
 
Join Date: Sep 2009
Posts: 94
Reputation: 1
Default Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!)

Could you tell me how could i make a login system with DIALOG BOX's?
addinol is offline   Reply With Quote
Old 28/02/2010, 09:33 PM   #29
aircombat
High-roller
 
Join Date: Feb 2010
Posts: 1,537
Reputation: 9
Default Re: [TUT] How to make a Dialog menu (LIST and MSGBOX only!)

Quote:
Originally Posted by Luka?
Nice, but bad indentitation at some lines.
use this at top of filterscript/gamemode to evade the loose identitation warning : #pragma tabsize 0

________
PORTUGUESE RECIPES

Last edited by aircombat; 08/04/2011 at 10:57 AM.
aircombat is offline   Reply With Quote
Old 28/02/2010, 09:37 PM   #30
Niixie
Gangsta
 
Niixie's Avatar
 
Join Date: Aug 2008
Location: Denmark
Posts: 526
Reputation: 3
Default Re: [TUT] How To Make A Dialog Menu (LIST And MSGBOX Only!)

Quote:
Originally Posted by addinol
Could you tell me how could i make a login system with DIALOG BOX's?
I dont use register login with dialogs myself because i think its ugly, but im sure that theres atleast 2 other tutorials where you can find it
__________________
Code:
 ____      __    __    __    ___       ___    __    ________
|    \    |  |  |  |  |  |  \   \     /   /  |  |  |   _____|
|     \   |  |  |  |  |  |   \   \_ _/   /   |  |  |  |
|  |\  \  |  |  |  |  |  |    \    |    /    |  |  |  |__
|  | \  \ |  |  |  |  |  |    /   _|_   \    |  |  |   __|
|  |  \  \|  |  |  |  |  |   /   /   \   \   |  |  |  |_____
|__|   \_____|  |__|  |__|  /___/     \___\  |__|  |________|
Niixie is offline   Reply With Quote
Reply

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
List style Dialog Help Tyler_Idy Help Archive 15 25/06/2010 01:10 AM
Dialog - MSGBOX Mechscape Help Archive 3 29/05/2010 11:36 AM
Help with BIG dialog in msgbox style! Posorkon Help Archive 12 12/02/2010 07:02 AM
Dialog List Help Annihalation Help Archive 2 26/10/2009 01:57 AM


All times are GMT. The time now is 05:34 PM.


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