22.10.2011, 12:05
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);