SA-MP Forums Archive
Returning dialog and sendclientmessage? - 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: Returning dialog and sendclientmessage? (/showthread.php?tid=483841)



**DELETE** - Pettersen - 27.12.2013

**DELETE


Respuesta: Returning dialog and sendclientmessage? - Cerealguy - 27.12.2013

you all login panel fuction in ondialogresponse and tell you where to put it
pawn Code:
else
{
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login", "Please login", "Login", "Quit");
SendClientMessage(playerid, -1, "Server: You have typed a incorrect password!");
}



Re: Returning dialog and sendclientmessage? - Tayab - 27.12.2013

Try this:
pawn Code:
return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login", "Please login", "Login", "Quit"), SendClientMessage(playerid, -1, "Server: You have typed a incorrect password!");
If this doesn't work, show me the code around it so I can get the jist of what you're trying to do.


**DELETE** - Pettersen - 28.12.2013

**DELETE