Hey,
wenn man Enter drückt kommt nur der Checkpoint.
Code:
if(newkeys == KEY_SECONDARY_ATTACK)
{
if(IsPlayerInRangeOfPoint(playerid,1.0,315.8935,-1769.8759,4.6351))
{
if(GetPVarInt(playerid,"Tutorial") == 0)
{
new string[500];
format(string,sizeof(string),"Der erste lange Text",string);
format(string,sizeof(string),"Der zweite lange Text",string);
ShowPlayerDialog(playerid,DIALOG_TUT3,DIALOG_STYLE_MSGBOX,"",string,"Okay","");
SetPlayerCheckpoint(playerid,322.3679,-1765.4747,4.0947,4.0);
TutCheck[playerid] = 4;
}
else if(GetPVarInt(playerid,"Tutorial") == 1)
{
}
}
}