hier mal die textdraws: IntroRBOX = TextDrawCreate(243.875000, 305.416687, "usebox");
TextDrawLetterSize(IntroRBOX, 0.000000, 3.053701);
TextDrawTextSize(IntroRBOX, 116.750000, 0.000000);
TextDrawAlignment(IntroRBOX, 1);
TextDrawColor(IntroRBOX, 0);
TextDrawUseBox(IntroRBOX, true);
TextDrawBoxColor(IntroRBOX, 102);
TextDrawSetShadow(IntroRBOX, 0);
TextDrawSetOutline(IntroRBOX, 0);
TextDrawFont(IntroRBOX, 0);
TextDrawSetSelectable(IntroRBOX, true);
IntroLBOX = TextDrawCreate(368.250000, 305.416687, "usebox");
TextDrawLetterSize(IntroLBOX, 0.000000, 2.988888);
TextDrawTextSize(IntroLBOX, 246.750000, 0.000000);
TextDrawAlignment(IntroLBOX, 1);
TextDrawColor(IntroLBOX, 0);
TextDrawUseBox(IntroLBOX, true);
TextDrawBoxColor(IntroLBOX, 102);
TextDrawSetShadow(IntroLBOX, 0);
TextDrawSetOutline(IntroLBOX, 0);
TextDrawFont(IntroLBOX, 0);
TextDrawSetSelectable(IntroLBOX, true);
hier das bei onplayerconnect if(gPlayerAccount[playerid] == 1 && gPlayerLogged[playerid] == 0)
{
gPlayerAccount[playerid] = 1;
TextDrawShowForPlayer(playerid,IntroBox);
TextDrawShowForPlayer(playerid,IntroName);
TextDrawShowForPlayer(playerid,IntroRBOX);
TextDrawSetSelectable(IntroRBOX, false);
TextDrawSetSelectable(IntroLBOX, true);
TextDrawShowForPlayer(playerid,IntroRTEXT);
TextDrawShowForPlayer(playerid,IntroLBOX);
TextDrawShowForPlayer(playerid,IntroLTEXT);
TextDrawShowForPlayer(playerid,IntroIBOX);
TextDrawShowForPlayer(playerid,IntroITEXT);
SelectTextDraw(playerid,blau);
}
else if(gPlayerAccount[playerid] == 0 && gPlayerLogged[playerid] == 0)
{
gPlayerAccount[playerid] = 0;
TextDrawShowForPlayer(playerid,IntroBox);
TextDrawShowForPlayer(playerid,IntroName);
TextDrawShowForPlayer(playerid,IntroRBOX);
TextDrawShowForPlayer(playerid,IntroRTEXT);
TextDrawSetSelectable(IntroRBOX, true);
TextDrawShowForPlayer(playerid,IntroLBOX);
TextDrawSetSelectable(IntroLBOX, false);
TextDrawShowForPlayer(playerid,IntroLTEXT);
TextDrawShowForPlayer(playerid,IntroIBOX);
TextDrawShowForPlayer(playerid,IntroITEXT);
SelectTextDraw(playerid,blau);
}
Function OnPlayerClickTextDraw(playerid,Text:clickedid)
{
if(clickedid == IntroRBOX)
{
ShowPlayerDialog(playerid,DIALOG_REG,DIALOG_STYLE_MSGBOX,"Account","Herzlich Willkommen auf German Next Era Life,\n\n\nWir Freuen uns das du zu uns gejoint bist.\n\n\nDamit du gleich Loslegen kannst,\n\nmusst du dich Registrieren.\n\nViel Spaß.","Erstellen","Abbrechen");
}
if(clickedid == IntroLBOX)
{
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login","Willkommen auf German Next Era Life,\n\n\n\n Bitte Logge dich nun ein!\n\n\n","Login","Abbrechen");
}
return 1;
}