Dialog and massive help
#1

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
PHP код:
for(new 0sizeof(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,63DIALOG_STYLE_MSGBOX,"F.A.Q ïî êàìàíäàì ñåðâåðà"commmsg"Äàëåå""Çàêðûòü");
                } 
Reply


Messages In This Thread
Dialog and massive help - by Aftemark - 07.12.2012, 18:50
Re: Dialog and massive help - by Aftemark - 07.12.2012, 18:53
Re: Dialog and massive help - by XStormiest - 07.12.2012, 18:55
Re: Dialog and massive help - by DaRk_RaiN - 07.12.2012, 18:55
Re: Dialog and massive help - by Aftemark - 07.12.2012, 18:56
Re: Dialog and massive help - by Aftemark - 07.12.2012, 19:00
Re: Dialog and massive help - by XStormiest - 07.12.2012, 19:01
Re: Dialog and massive help - by Aftemark - 07.12.2012, 19:05
Re: Dialog and massive help - by XStormiest - 07.12.2012, 19:07
Re: Dialog and massive help - by Aftemark - 07.12.2012, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)