Help for dialog
#1

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.
Reply
#2

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.
Reply
#3

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

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
Reply
#5

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?
Reply
#6

Bump.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)