07.12.2012, 18:50
Hi everyone! I need to create a table in dialog like that thing:
sry for language on that picture, but as u can see there is a info about gas price on petrol stations over the state. How to create somthing like that using massives, not by typing every single string =/ please help!
There is a part of my code
sry for language on that picture, but as u can see there is a info about gas price on petrol stations over the state. How to create somthing like that using massives, not by typing every single string =/ please help!
There is a part of my code
PHP код:
for(new b = 0; b < sizeof(mnpBizzInfo); b++)
{
new azsinfo[sizeof(mnpBizzInfo)][100];
format(azsinfo[b],sizeof(azsinfo[b]), "ÀÇÑ [¹%d] - Öåíà çà ëèòð $%d",b,azsBizzInfo[b][azsEntranceCost])
new commmsg[1830];
format(commmsg,sizeof(commmsg), "/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s\/n%s",azsinfo[0],azsinfo[1],azsinfo[2],azsinfo[3],azsinfo[4],azsinfo[5],azsinfo[6],azsinfo[7],azsinfo[8],azsinfo[9],azsinfo[10],azsinfo[11],azsinfo[12],azsinfo[13],azsinfo[14],azsinfo[15],azsinfo[16],azsinfo[17],azsinfo[18],azsinfo[19],azsinfo[20]);
ShowPlayerDialog(playerid,63, DIALOG_STYLE_MSGBOX,"F.A.Q ïî êàìàíäàì ñåðâåðà", commmsg, "Äàëåå", "Çàêðûòü");
}
