SA-MP Forums Archive
Help for dialog - 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: Help for dialog (/showthread.php?tid=619746)



Help for dialog - Kyriee - 21.10.2016

Can anybody help me to make a these commands.

/addtask
Any by this command there will be shown DIALOG_STYLE_INPUT and I will put that text and after it I need commands /tasks what will show all stats which has been added and /removetask to remove tasks.

Thanks.


Re: Help for dialog - ThatFag - 21.10.2016

You will need a saving system for this kind of command as long as you can add as many tasks as you wish so we cant just figure it out like this.


Re: Help for dialog - Kyriee - 21.10.2016

Quote:
Originally Posted by ThatFag
Посмотреть сообщение
You will need a saving system for this kind of command as long as you can add as many tasks as you wish so we cant just figure it out like this.
Hmm... We have saving system. I would be thankful for code of these codes I need


Re: Help for dialog - Eoussama - 21.10.2016

It's simple, just check this page
https://sampwiki.blast.hk/wiki/ShowPlayerDialog
I also recommend that you use
PHP код:
enum 
to identify Dialog Ids to avoid id collusion


Re: Help for dialog - Kyriee - 22.10.2016

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
It's simple, just check this page
https://sampwiki.blast.hk/wiki/ShowPlayerDialog
I also recommend that you use
PHP код:
enum 
to identify Dialog Ids to avoid id collusion
I cant use it for removing tasks/rules right?


Re: Help for dialog - Kyriee - 22.10.2016

Bump.