09.04.2012, 05:05
I have a login dialog. It has a box for you to put your password in it and there are two buttons below it.
Login and Cancel. Here is my Cancel code:
I want it so when they click on the button "Cancel", it will automatically let them /q or quit the game.
Login and Cancel. Here is my Cancel code:
pawn Код:
if(dialogid == DIALOG_LOGIN)
{
if(response == 0)
{
SendClientMessage(playerid, COLOR_ERROR, "You must login below.");
LogPlayer(playerid);
return 1;
}