Another Thing!
#2

pawn Код:
if(pInfo[playerid][ach1] == 1)
    {
    format(string,sizeof(string),"{00FF00}First Cigarette",acheivement());
     ShowPlayerDialog(playerid,92728,DIALOG_STYLE_LIST,"Acheivements",string,"OK","");
    }
    if(pInfo[playerid][ach1] == 0)
    {
    format(string,sizeof(string),"{FFFFFF}First Cigarette",acheivement());
    ShowPlayerDialog(playerid,92728,DIALOG_STYLE_LIST,"Acheivements",string,"OK","");
    }
Now what's wrong with it?
Or you can also use "strcat" for string formatting since formatting using format function is very bad and i do not recommend it.
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: 2 Guest(s)