20.08.2017, 19:02
como faзo para que quando o player apertar ESC, a setinha do mouse nгo sumir e ele nгo descongelar, ou seja ele й obrigado a clicar na textdraw para poder jogar...
Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid) { if(playertextid == Login[playerid][5]) { ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT, "• Registro", "Para jogar no servidor, registre sua conta.\n\n{1BE0E0}Digite uma senha", "Registrar", "Sair"); PlayerTextDrawHide(playerid, Login[playerid][0]); PlayerTextDrawHide(playerid, Login[playerid][1]); PlayerTextDrawHide(playerid, Login[playerid][2]); PlayerTextDrawHide(playerid, Login[playerid][3]); PlayerTextDrawHide(playerid, Login[playerid][4]); PlayerTextDrawHide(playerid, Login[playerid][5]); PlayerTextDrawHide(playerid, Login[playerid][6]); PlayerTextDrawHide(playerid, Login[playerid][7]); PlayerTextDrawHide(playerid, Login[playerid][8]); CancelSelectTextDraw(playerid); } return 0; }