Hey, mein Login und register Textdraw ist leider nicht anklickbar.. die anderen im Script gehen alle..
SelectTextDraw(playerid, 0xA3B4C5FF);//ganz oben Onplayerconnect
Textdraw3[playerid] = CreatePlayerTextDraw(playerid, 388.500000, 279.011108, "Register");
PlayerTextDrawLetterSize(playerid, Textdraw3[playerid], 0.000000, 1.895678);
PlayerTextDrawTextSize(playerid, Textdraw3[playerid], 258.000000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw3[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw3[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw3[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw3[playerid], 102);
PlayerTextDrawSetShadow(playerid, Textdraw3[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw3[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw3[playerid], 0);
PlayerTextDrawSetProportional(playerid, Textdraw3[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw3[playerid], true);
Textdraw4[playerid] = CreatePlayerTextDraw(playerid, 388.500000, 308.877838, "Informationen");
PlayerTextDrawLetterSize(playerid, Textdraw4[playerid], 0.000000, 1.878396);
PlayerTextDrawTextSize(playerid, Textdraw4[playerid], 258.000000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw4[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw4[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw4[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw4[playerid], 102);
PlayerTextDrawSetShadow(playerid, Textdraw4[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw4[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw4[playerid], 0);
PlayerTextDrawSetProportional(playerid, Textdraw4[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw4[playerid], true);
Textdraw5[playerid] = CreatePlayerTextDraw(playerid, 388.500000, 338.744476, "Verlassen");
PlayerTextDrawLetterSize(playerid, Textdraw5[playerid], 0.000000, 1.895678);
PlayerTextDrawTextSize(playerid, Textdraw5[playerid], 258.000000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw5[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw5[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw5[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw5[playerid], 102);
PlayerTextDrawSetShadow(playerid, Textdraw5[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw5[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw5[playerid], 0);
PlayerTextDrawSetProportional(playerid, Textdraw5[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw5[playerid], true);
Und was passieren soll:
if(_:playerid != INVALID_TEXT_DRAW)
{
if(playertextid == Textdraw3[playerid])
{
if(cache_num_rows() == 0)
{
SendClientMessage(playerid, 0xFFFFFFFF,"________Herzlich Wilkommen auf San Francisco Reallife________");
SendClientMessage(playerid, 0xFFFFFFFF,"Datenbank: Akte konnte nicht gefunden werden. Bitte Registrieren Sie sich!");
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registrieren","Bitte gib dein Persöhnliches Passwort ein:","Register","Abbrechen");
}
else
{
SendClientMessage(playerid, 0xFFFFFFFF,"________Herzlich Wilkommen auf San Francisco Reallife________");
SendClientMessage(playerid, 0xFFFFFFFF,"Datenbank: Akte wurde gefunden. Bitte Loggen Sie sich ein!");
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Einloggen","Bitte gib dein Passwort ein:","Login","Abbrechen");
}
}
}
Ich verstehe nicht wieso er nicht anklickbar ist und ich kann auf "Spawn" klicken dann werde ich gespawnt aber nicht eingeloggt das soll auch nicht sein
MfG