21.06.2014, 01:40
Here is the code in the public:
Press F4 and The dialog open... And when close, the cam stay here.
How to disable F4 button for do nothing?
Код:
public OnPlayerRequestClass(playerid, classid) { if(!fexist(UbicacionArchivo(playerid))) { ShowPlayerDialog(playerid, Registro, DIALOG_STYLE_INPUT, "Registro", "Coloque su contraseсa para crear su cuenta", "Registrar", "Cancelar"); } else { INI_ParseFile(UbicacionArchivo(playerid), "Cargar_%s", .bExtra = true, .extra = playerid); ShowPlayerDialog(playerid, Ingreso, DIALOG_STYLE_PASSWORD, "Ingreso", "Coloque su contraseсa para ingresar", "Conectar", "Cancelar"); } return 1; }
How to disable F4 button for do nothing?