Jump to content

Recommended Posts

Posted

Salut, la dialoguri cum pot face optiuni care sa nu faca nimic.dau pe el si sa se inchida dialogul

if(listitem == 0)
		    {
		        ShowPlayerDialog(playerid,DIALOG_REPORT,DIALOG_STYLE_INPUT,"{0066FF}X {FFFFFF}foloeste {0066FF}hack:","Introdu numele celui care foloeste HACK.","Select","Cancel"); return 1;
		    }

 

Posted

La dialog ai 2 butoane, in cazul tau "Select" si "Cancel"

Primul buton, in cazul tau "select" reprezinta cand respectivul raspunde la dialog (response)

Al doilea buton, in cazul tau "Cancel" reprezinta cand respectivul nu raspunde la dialog (!response)

Dialogul se inchide la orice buton ai selecta, totul depinde doar de ce il pui sa faca daca playerul raspunde sau nu raspunde la dialog.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.