Heyho,
also wenn man die ganze Zeit Enter drückt dann wird der Dialog angezeigt nur einmal drücken nicht.
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),"TEXT 1",string);
format(string,sizeof(string),"TEXT 2",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)
{
}
}
}