Hallo Leute,
ich wollte fragen wie man nach diesem Login Dialog automatisch spawnt:
else
{
gPlayerAccount[playerid] = 1;
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_YELLOW2, "*::* Du hast bereits einen Account. Bitte tippe dein Passwort rein: *::*");
new s[128];
format(s,sizeof(s),"Wilkommen %s!\n\nTippe hier dein Passwort rein:",ReadName(playerid));
ShowPlayerDialog(playerid,3,DIALOG_STYLE_INPUT,"Login Fenster",s,"Einloggen","Abbrechen");
format(mat, sizeof(mat),"/Autos/%s.carinfo",ReadName(playerid));
if(dini_Exists(mat))
{
LoadPlayerVehicle(playerid);
}
SpawnPlayer(playerid);
}
aber er spawnt einfach nicht wieso ?
*edit
sorry er soll hiernach spawnen !
else
{
gPlayerAccount[playerid] = 1;
SendClientMessage(playerid, COLOR_WHITE, " ");
SendClientMessage(playerid, COLOR_YELLOW2, "*::* Du hast bereits einen Account. Bitte tippe dein Passwort rein: *::*");
new s[128];
format(s,sizeof(s),"Wilkommen %s!\n\nTippe hier dein Passwort rein:",ReadName(playerid));
ShowPlayerDialog(playerid,3,DIALOG_STYLE_INPUT,"Login Fenster",s,"Einloggen","Abbrechen");
format(mat, sizeof(mat),"/Autos/%s.carinfo",ReadName(playerid));
if(dini_Exists(mat))
{
LoadPlayerVehicle(playerid);
}
}