18.08.2014, 09:05
So I wanna make a dialog that shows your attached objects, but the line is too long.
How could I do it differently?
How could I do it differently?
Код:
format(string, sizeof(string), "Slot 1 - Object: %d\nSlot 2 - Object: %d\nSlot 3 - Object: %d\nSlot 4 - Object: %d\nSlot 5 - Object: %d\nSlot 6 - Object: %d\nSlot 7 - Object: %d\nSlot 8 - Object: %d\nSlot 9 - Object: %d\nSlot 10 - Object: %d", PlayerInfo[playerid][kOID][0], PlayerInfo[playerid][kOID][1], PlayerInfo[playerid][kOID][2], PlayerInfo[playerid][kOID][3], PlayerInfo[playerid][kOID][4], PlayerInfo[playerid][kOID][5], PlayerInfo[playerid][kOID][6], PlayerInfo[playerid][kOID][7], PlayerInfo[playerid][kOID][8], PlayerInfo[playerid][kOID][9]);