TD BUG

Započeo Hrdjavi.pwn, Decembar 18, 2021, 11:20:40 PRE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Problem(error/warning): Napravio sam tdove, ubacio u skriptu, nema errora, server se normalno pali, ali se nerealno sporo ucitava kad udjes na server i nema tdova. Takodjer TDove sam stavio u OnGameModeInit i u OnPlayerSpawn sam stavio TextDrawShowForPlayer
Deo skripte: [pawn]
    new Text:Dlrptd0;
   new Text:Dlrptd1;
   new Text:Dlrptd2;
   new Text:Dlrptd3;
   new Text:Dlrptd4;
   new Text:Dlrptd5;
   new Text:Dlrptd6;
   new Text:Dlrptd7;
   new Text:Dlrptd8;
   new Text:Dlrptd9;
   new Text:Dlrptd10;
   new Text:Dlrptd11;
   new Text:Dlrptd12;
   new Text:Dlrptd13;
   new Text:Dlrptd14;
   new Text:Dlrptd15;
   new Text:Dlrptd16;

        Dlrptd0 = TextDrawCreate(700.333251, 8.551851, "usebox");
   TextDrawLetterSize(Dlrptd0, 0.000000, 1.803498);
   TextDrawTextSize(Dlrptd0, 478.000000, 0.000000);
   TextDrawAlignment(Dlrptd0, 1);
   TextDrawColor(Dlrptd0, 0);
   TextDrawSetShadow(Dlrptd0, 0);
   TextDrawSetOutline(Dlrptd0, 0);
   TextDrawBackgroundColor(Dlrptd0, 65535);
   TextDrawFont(Dlrptd0, 0);

   Dlrptd1 = TextDrawCreate(490.999938, 0.000000, "Dark Life RolePlay");
   TextDrawLetterSize(Dlrptd1, 0.326000, 1.641481);
   TextDrawAlignment(Dlrptd1, 1);
   TextDrawColor(Dlrptd1, 65535);
   TextDrawSetShadow(Dlrptd1, 0);
   TextDrawSetOutline(Dlrptd1, 1);
   TextDrawBackgroundColor(Dlrptd1, 51);
   TextDrawFont(Dlrptd1, 2);
   TextDrawSetProportional(Dlrptd1, 1);

   Dlrptd2 = TextDrawCreate(578.666259, 430.577667, "00:00");
   TextDrawLetterSize(Dlrptd2, 0.449999, 1.600000);
   TextDrawAlignment(Dlrptd2, 1);
   TextDrawColor(Dlrptd2, -1);
   TextDrawSetShadow(Dlrptd2, 0);
   TextDrawSetOutline(Dlrptd2, 1);
   TextDrawBackgroundColor(Dlrptd2, 51);
   TextDrawFont(Dlrptd2, 2);
   TextDrawSetProportional(Dlrptd2, 1);

   Dlrptd3 = TextDrawCreate(641.666687, 430.418518, "usebox");
   TextDrawLetterSize(Dlrptd3, 0.000000, 1.757408);
   TextDrawTextSize(Dlrptd3, -2.000000, 0.000000);
   TextDrawAlignment(Dlrptd3, 1);
   TextDrawColor(Dlrptd3, 0);
   TextDrawUseBox(Dlrptd3, true);
   TextDrawBoxColor(Dlrptd3, 255);
   TextDrawSetShadow(Dlrptd3, 0);
   TextDrawSetOutline(Dlrptd3, 0);
   TextDrawFont(Dlrptd3, 0);

   Dlrptd4 = TextDrawCreate(2.333302, 430.577911, "Verzija: 1.0");
   TextDrawLetterSize(Dlrptd4, 0.449999, 1.600000);
   TextDrawAlignment(Dlrptd4, 1);
   TextDrawColor(Dlrptd4, -1);
   TextDrawSetShadow(Dlrptd4, 0);
   TextDrawSetOutline(Dlrptd4, 1);
   TextDrawBackgroundColor(Dlrptd4, 51);
   TextDrawFont(Dlrptd4, 2);
   TextDrawSetProportional(Dlrptd4, 1);

   Dlrptd5 = TextDrawCreate(0.000000, 428.918518, "LD_SPAC:white");
   TextDrawLetterSize(Dlrptd5, 0.000000, 0.000000);
   TextDrawTextSize(Dlrptd5, 640.000000, 1.659271);
   TextDrawAlignment(Dlrptd5, 1);
   TextDrawColor(Dlrptd5, 65535);
   TextDrawSetShadow(Dlrptd5, 0);
   TextDrawSetOutline(Dlrptd5, 0);
   TextDrawFont(Dlrptd5, 4);

   Dlrptd6 = TextDrawCreate(0.000000, 447.170379, "LD_SPAC:white");
   TextDrawLetterSize(Dlrptd6, 0.000000, 0.000000);
   TextDrawTextSize(Dlrptd6, 640.000000, 0.829620);
   TextDrawAlignment(Dlrptd6, 1);
   TextDrawColor(Dlrptd6, -1);
   TextDrawSetShadow(Dlrptd6, 0);
   TextDrawSetOutline(Dlrptd6, 0);
   TextDrawFont(Dlrptd6, 4);

   Dlrptd7 = TextDrawCreate(262.666900, 428.503448, "www.soon.com");
   TextDrawLetterSize(Dlrptd7, 0.449999, 1.600000);
   TextDrawAlignment(Dlrptd7, 1);
   TextDrawColor(Dlrptd7, 65535);
   TextDrawSetShadow(Dlrptd7, 0);
   TextDrawSetOutline(Dlrptd7, 1);
   TextDrawBackgroundColor(Dlrptd7, 51);
   TextDrawFont(Dlrptd7, 1);
   TextDrawSetProportional(Dlrptd7, 1);

   Dlrptd8 = TextDrawCreate(261.333251, 413.155609, "00/00/0000");
   TextDrawLetterSize(Dlrptd8, 0.449999, 1.600000);
   TextDrawAlignment(Dlrptd8, 1);
   TextDrawColor(Dlrptd8, 65535);
   TextDrawSetShadow(Dlrptd8, 0);
   TextDrawSetOutline(Dlrptd8, 1);
   TextDrawBackgroundColor(Dlrptd8, 51);
   TextDrawFont(Dlrptd8, 2);
   TextDrawSetProportional(Dlrptd8, 1);

   Dlrptd9 = TextDrawCreate(543.666625, 106.607414, "LD_SPAC:white");
   TextDrawLetterSize(Dlrptd9, 0.000000, 0.000000);
   TextDrawTextSize(Dlrptd9, 61.666687, 27.377777);
   TextDrawAlignment(Dlrptd9, 1);
   TextDrawColor(Dlrptd9, 65535);
   TextDrawSetShadow(Dlrptd9, 0);
   TextDrawSetOutline(Dlrptd9, 0);
   TextDrawFont(Dlrptd9, 4);

   Dlrptd10 = TextDrawCreate(543.666625, 106.192588, "LD_SPAC:white");
   TextDrawLetterSize(Dlrptd10, 0.000000, 0.000000);
   TextDrawTextSize(Dlrptd10, 0.666747, 27.792594);
   TextDrawAlignment(Dlrptd10, 1);
   TextDrawColor(Dlrptd10, -1);
   TextDrawSetShadow(Dlrptd10, 0);
   TextDrawSetOutline(Dlrptd10, 0);
   TextDrawFont(Dlrptd10, 4);

   Dlrptd11 = TextDrawCreate(544.333374, 133.985183, "LD_SPAC:white");
   TextDrawLetterSize(Dlrptd11, 0.000000, 0.000000);
   TextDrawTextSize(Dlrptd11, 60.666625, -0.829620);
   TextDrawAlignment(Dlrptd11, 1);
   TextDrawColor(Dlrptd11, -1);
   TextDrawSetShadow(Dlrptd11, 0);
   TextDrawSetOutline(Dlrptd11, 0);
   TextDrawFont(Dlrptd11, 4);

   Dlrptd12 = TextDrawCreate(543.666625, 105.777770, "LD_SPAC:white");
   TextDrawLetterSize(Dlrptd12, 0.000000, 0.000000);
   TextDrawTextSize(Dlrptd12, 61.666687, 0.829635);
   TextDrawAlignment(Dlrptd12, 1);
   TextDrawColor(Dlrptd12, -1);
   TextDrawSetShadow(Dlrptd12, 0);
   TextDrawSetOutline(Dlrptd12, 0);
   TextDrawFont(Dlrptd12, 4);

   Dlrptd13 = TextDrawCreate(605.666625, 106.607406, "LD_SPAC:white");
   TextDrawLetterSize(Dlrptd13, 0.000000, 0.000000);
   TextDrawTextSize(Dlrptd13, -0.666625, 27.377777);
   TextDrawAlignment(Dlrptd13, 1);
   TextDrawColor(Dlrptd13, -1);
   TextDrawUseBox(Dlrptd13, true);
   TextDrawBoxColor(Dlrptd13, 0);
   TextDrawSetShadow(Dlrptd13, 0);
   TextDrawSetOutline(Dlrptd13, 0);
   TextDrawFont(Dlrptd13, 2);

   Dlrptd14 = TextDrawCreate(605.666625, 106.192588, "LD_SPAC:white");
   TextDrawLetterSize(Dlrptd14, 0.000000, 0.000000);
   TextDrawTextSize(Dlrptd14, -0.666625, 27.792594);
   TextDrawAlignment(Dlrptd14, 1);
   TextDrawColor(Dlrptd14, -1);
   TextDrawSetShadow(Dlrptd14, 0);
   TextDrawSetOutline(Dlrptd14, 0);
   TextDrawFont(Dlrptd14, 4);

   Dlrptd15 = TextDrawCreate(546.666748, 104.118438, "BANKA: 000000000");
   TextDrawLetterSize(Dlrptd15, 0.132332, 1.645629);
   TextDrawAlignment(Dlrptd15, 1);
   TextDrawColor(Dlrptd15, 8388863);
   TextDrawSetShadow(Dlrptd15, 0);
   TextDrawSetOutline(Dlrptd15, 1);
   TextDrawBackgroundColor(Dlrptd15, 51);
   TextDrawFont(Dlrptd15, 2);
   TextDrawSetProportional(Dlrptd15, 1);

   Dlrptd16 = TextDrawCreate(546.333435, 117.807373, "ZLATO: 0G");
   TextDrawLetterSize(Dlrptd16, 0.183666, 1.488000);
   TextDrawAlignment(Dlrptd16, 1);
   TextDrawColor(Dlrptd16, -65281);
   TextDrawSetShadow(Dlrptd16, 0);
   TextDrawSetOutline(Dlrptd16, 1);
   TextDrawBackgroundColor(Dlrptd16, 51);
   TextDrawFont(Dlrptd16, 2);
   TextDrawSetProportional(Dlrptd16, 1);
[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn]/[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem): Mislim da nema potrebe
Poslednja Izmena: Decembar 20, 2021, 13:42:39 POSLE PODNE od 'xza

Probaj napravi komandu koja ce prikazati tdove, cisto radi testa

I posalji gde ih prikazujes

Citat: V01D poslato Decembar 18, 2021, 11:24:19 PRE PODNE
Probaj napravi komandu koja ce prikazati tdove, cisto radi testa

I posalji gde ih prikazujes
Uspio sam fixati, skontao sam sta sam pogrijesio, a imas li neku ideju sto mi se sporo ucitava na serveru sve?