Hallo Leute.
Ich habe ein kleines "Dialog" Problem.
Sobald ich mich Registriere soll dieser Dialog aufgerufen werden:
ShowPlayerDialog(playerid, DIALOG_TUT1, DIALOG_STYLE_MSGBOX, "Infos zur Person", "Der Account wurde erfolgreich Angelegt.\nBitte fülle nun einige Informationen über deine Person aus.\n \nBist du Männlich oder Weiblich?", "Männlich", "Weiblich");
So, wenn ich nun einen von den beiden "Buttons" drücke, bleibt es bei dem Bildschirm, und ich werde zurück zum Anfangs-Bildschirm gebracht.
Video:
(ACHTUNG: Schmerzt in den Ohren da ich falsche Fraps Einstellungen habe. )
//Hier noch der "Dialog-Response".
if(dialogid==DIALOG_TUT1)
{
if(!response)
{
//Weiblich
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_WHITE, "Du kannst den Skin mit der {CD8500} Shift {FFFFFF} Taste wechseln.");
SendClientMessage(playerid, COLOR_WHITE, "Mit der {CD8500} Enter {FFFFFF} Taste wählst du den Skin aus.");
SetPlayerPos(playerid, 437.3533,-1748.4609,9.1031);
SetPlayerCameraPos(playerid, 438.6240,-1752.1791,8.8109);
SetPlayerCameraLookAt(playerid, 437.3533,-1748.4609,9.1031);
FreezePlayer(playerid);
pPlayerRegisterChooseSkinFemale[playerid] = 1;
SetPlayerFacingAngle(playerid, 228.3101);
SetPlayerSkin(playerid, 12); // Frau Skin
}
if(response)
{
//Männlich
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_YELLOW, "");
SendClientMessage(playerid, COLOR_WHITE, "Du kannst den Skin mit der {CD8500} Shift {FFFFFF} Taste wechseln.");
SendClientMessage(playerid, COLOR_WHITE, "Mit der {CD8500} Enter {FFFFFF} Taste wählst du den Skin aus.");
SetPlayerPos(playerid, 437.3533,-1748.4609,9.1031);
SetPlayerCameraPos(playerid, 438.6240,-1752.1791,8.8109);
SetPlayerCameraLookAt(playerid, 437.3533,-1748.4609,9.1031);
FreezePlayer(playerid);
SetPlayerFacingAngle(playerid, 228.3101);
pPlayerRegisterChooseSkinMale[playerid] = 1;
SetPlayerSkin(playerid, 2); // Mann Skin
}
}
//edit
habe mal die dialogids geändert auf andere zahlen... gleiches problem immernoch
//edit
Ich habe noch zugleich Checkpoint-Defines:
#define CHECKPOINT_NONE 1000
#define CHECKPOINT_FAHRSCHULETUTORIAL 1001
#define CHECKPOINT_FS1 1002
#define CHECKPOINT_FS2 1003
#define CHECKPOINT_FS3 1004
#define CHECKPOINT_FS4 1005
#define CHECKPOINT_FS5 1006
#define CHECKPOINT_FS6 1007
#define CHECKPOINT_FS7 1008
#define CHECKPOINT_FS8 1009
#define CHECKPOINT_FS9 1010
#define CHECKPOINT_FS10 1011
#define CHECKPOINT_FS11 1012
#define CHECKPOINT_FS12 1013
#define CHECKPOINT_FS13 1014
#define CHECKPOINT_FS14 1015
#define CHECKPOINT_FS15 1016
#define CHECKPOINT_FSENDE 1017
#define CHECKPOINT_HOME 1018
Die hatten vorher auch 1,2,3 etc. jetzt höher.
Hat auch nicht geholfen.