Another Thing!
#6

Your code is very confusing ...
pawn Код:
if(pInfo[playerid][ach1] == 1)
    format(string,256,"%s\n {00FF00}First Cigarette",string);
if(pInfo[playerid][ach1] == 0)
    format(string,256,"%s\n {FFFFFF}First Cigarette",string);
if(pInfo[playerid][ach2] == 1)
    format(string,256,"%s\n {FFFFFF}First Vehicle",string);
if(pInfo[playerid][ach2] == 0)
    format(string,256,"%s\n {FFFFFF}First Vehicle",string);

ShowPlayerDialog(playerid,92728,DIALOG_STYLE_LIST,"Acheivements",string,"OK","");

acheivement()
{
    new string2[20];
    if(pInfo[playerid][ach2] == 0)
        format(string2,sizeof(string2),"{FFFFFF}FirstMan");
    if(pInfo[playerid][ach2] == 1)
        format(string2,sizeof(string2),"{00FF00}FirstMan");

    return string2;
}
Reply


Messages In This Thread
Another Thing! - by RyanPetersons - 17.09.2012, 14:59
Re: Another Thing! - by AtItsMax - 17.09.2012, 15:02
Re: Another Thing! - by ViniBorn - 17.09.2012, 15:05
Re: Another Thing! - by RyanPetersons - 17.09.2012, 15:06
Re: Another Thing! - by RyanPetersons - 17.09.2012, 15:09
Re: Another Thing! - by ViniBorn - 17.09.2012, 15:34

Forum Jump:


Users browsing this thread: 4 Guest(s)