17.09.2012, 15:06
Nothing, is wrong, I mean to say that
I wrote that full code but the only text appear in the dialog is "First Cigarette", it doesnt appear "First Vehicle".
That is the problem.
pawn Код:
if(pInfo[playerid][ach1] == 1)
{
format(string,1000,"{00FF00}First Cigarette",acheivement());
}
if(pInfo[playerid][ach1] == 0)
{
format(string,1000,"{FFFFFF}First Cigarette",acheivement());
}
if(pInfo[playerid][ach2] == 1)
{
format(string,1000,"{FFFFFF}First Vehicle",acheivement());
}
if(pInfo[playerid][ach2] == 0)
{
format(string,1000,"{FFFFFF}First Vehicle",acheivement());
}
ShowPlayerDialog(playerid,92728,DIALOG_STYLE_LIST,"Acheivements",string,"OK","");
}
That is the problem.