29.10.2010, 01:36
i've got this code and it's only showing me the bottom line only..
how can i see all the lines setted?.. thank you..
how can i see all the lines setted?.. thank you..
pawn Код:
new STOREMENUTEXT1[1024];
format(string, sizeof(string),"Cell Phone (Cost: $%d)\nItem Removed (Cost: $0)\nPhone Book (Cost: $%d)\n",phonecost,phonebookcost);
format(string, sizeof(string),"Item Removed (Cost: $0)\nItem Removed (Cost: $0)\nItem Removed (Cost: $0)\n",bottlecost,condomcost);
format(string, sizeof(string),"Water Bottle (Cost: $%d)\nCondom (Cost: $%d)\nItem Removed (Cost: $0)\n",string);
format(string, sizeof(string),"Frozen Chicken (Cost: $%d)\nFrozen Hamburger (Cost: $%d)\nFrozen Pizza (Cost: $%d)\nGPS Software (Cost: $%d)\n",string);
format(string, sizeof(string),"Pack of Cigarettes(X20)(X20) (Cost: $%d)\nItem Removed (Cost: $0)\nRope (Cost: $%d)\nCutter (Cost: $%d)\n",chickencost,hamburgercost,pizzacost,gpscost,cigarettescost,ropecost,cuttercost);
format(string, sizeof(string),"Jar of Cookies (Cost: $%d)\nItem Removed (Cost: $0)\nItem Removed (Cost: $0)",cookiescost);
strmid(STOREMENUTEXT1,string,0,strlen(string),255);