Dialog Remove
#1

hi, short hopefully question.
Is it possible to Remove a Dialog? (Not by pressing a button) Like the other functions like 1(=true) for disabled and 0(=false) for Enabled?
I was looking in wiki but didn't found one.
( Its important because if the Player is dead the dialog have to remove)

hope u can help.



(PS: Great idea the Dialog function)
Reply
#2

Add "ShowPlayerDialog( playerid, -1, 0, "", "", "", "" );" to "OnPlayerDeath".
Reply
#3

thanks and sorry I didn't tell u that I want to disable only a special dialog not every Dialog.
can u tell me that?
Reply
#4

Quote:
Originally Posted by nesty
thanks and sorry I didn't tell u that I want to disable only a special dialog not every Dialog.
can u tell me that?
His code will disable every running dialog you've got.
Reply
#5

yes i know but i need a function where specially ONE Dialog will disable, hope u know what i mean?
Reply
#6

I think of a function like this:

ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSG,"Do you want a Shotgun?",s,"YES","NO", 1;
Is there any of that? 0(=false) = disabled

or has somebody an idea? please! Its important
Reply
#7

"You can't have multiple dialogs at the same time"
ok i think its like checkpoints! damn but thanks for you answer!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)