dialogs or normal commands - 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: dialogs or normal commands (
/showthread.php?tid=615505)
dialogs or normal commands -
iBots - 23.08.2016
I am making few new commands to something like a toy system(you wear toys and remove them and etc...)
I would like to know ,which is better,using like a command and then a dialog pops up and you choose whatever you want,or like a main command with options in it,i mean like for example" /command [option name] [toy name]
I meant a command and you type the option name like wear/remove and then the toy name
Re: dialogs or normal commands -
BrianS123 - 23.08.2016
As for me, a dialog will be fine
Re: dialogs or normal commands -
Sew_Sumi - 23.08.2016
Yea, dialog would be better for this. One command to bring it up, then you can select which one you're wanting to edit.
When creating you could use clickable textdraws with a preview screen to ID which one they are wanting, but that's for another command.
Re: dialogs or normal commands -
JaydenJason - 23.08.2016
Why not both? If the player types
It displays a dialog
If a player types
It equips gear slot 2 or w/e