Only first letter, instead of the whole word HELP please [enum + mySQL + Variables]
#2

Use strcopy:
pawn Код:
#define strcopy(%0,%1) strcat((%0[0] = EOS, %0), %1)
Код:
                strcopy(businessVariables[x][bProduct1], systemItems[ProductID][iName]);
                format(string, sizeof(string), "You have ordered %d %s 's on slot %d and set their price to $ %d", businessVariables[x][bProductAmount1], businessVariables[x][bProduct1], ProductSlot, businessVariables[x][bProductPrice1]);
                SendClientMessage(playerid, COLOR_GREY, string);
Reply


Messages In This Thread
Only first letter, instead of the whole word HELP please [enum + mySQL + Variables] - by jesse237 - 19.10.2011, 18:57
Re: Only first letter, instead of the whole word HELP please [enum + mySQL + Variables] - by KoczkaHUN - 22.10.2011, 12:05

Forum Jump:


Users browsing this thread: 2 Guest(s)