Witam!
Mam problem, ciągle wywala mi G1 po zrobieniu listu
INSTANCE ItWr_Death_01 (C_Item)
{
name = "List Samobójcy";
mainflag = ITEM_KAT_DOCS;
flags = ITEM_MISSION;
value = 1;
visual = "ItWr_Scroll_01.3DS";
material = MAT_LEATHER;
scemeName = "MAP";
description = name;
TEXT[0] = "Znalazłem go w chacie samobójcy.";
////COUNT[0] = ;
//TEXT[1] = "";
////COUNT[1] = ;
//TEXT[2] = "";
//COUNT[2] = ;
//TEXT[3] = "";
//COUNT[3] = ;
//TEXT[4] = "";
////COUNT[4] = ;
TEXT[5] = NAME_Value;
COUNT[5] = value;
};
var int nDocID;
Doc_SetPages ( nDocID, 1 ); //wieviel Pages
Doc_SetPage ( nDocID, 0, "letters.TGA" , 0 );
Doc_SetFont ( nDocID, -1, "font_10_book.tga" ); // -1 -> all pages
Doc_SetMargins ( nDocID, -1, 50, 50, 50, 50, 1 ); // 0 -> margins are in pixels
Doc_PrintLine ( nDocID, 0, " " );
Doc_PrintLine ( nDocID, 0, "" );
Doc_PrintLine ( nDocID, 0, "" );
Doc_SetFont ( nDocID, -1, "font_10_book.TGA" ); // -1 -> all pages
Doc_PrintLines ( nDocID, 0, "Przepraszam, już tak dłużej nie mogę." );
Doc_PrintLine ( nDocID, 0, "" );
Doc_PrintLine ( nDocID, 0, "" );
Doc_PrintLine ( nDocID, 0, "" );
//Doc_PrintLine ( nDocID, 0, "");
Doc_PrintLine ( nDocID, 0, "" );
Doc_PrintLine ( nDocID, 0, "" );
Doc_SetMargins ( nDocID, -1, 200, 50, 50, 50, 1 ); // 0 -> margins are in pixels (Position des Textes von den Ränder des TGAs aus
Doc_Show ( nDocID );
};
O co chodzi?