Započeo krizmanikdev
•5. Dec. 2021.problem sa tdom
516
pregleda
7
postova
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
198
Postovi:
41
Teme:
Pridružio se:Maj 2021
5. Dec. 2021.
Problem(error/warning): bozicna kapa se ne prikazuje, stvara se neki veliki box?
Deo skripte:
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
Slika/video ingame problema(obavezno ako je ingame problem): ovako izgleda u editoru: https://imgur.com/a/pewo5zf
ovako ig: https://imgur.com/a/jOuCDp5
Deo skripte:
InGame1 = TextDrawCreate(568.000183, 4.562961, "LD_SPAC:white");
TextDrawLetterSize(InGame1, -0.002999, -1.104147);
TextDrawTextSize(InGame1, 36.333274, 30.696296);
TextDrawAlignment(InGame1, 3);
TextDrawColor(InGame1, 255);
TextDrawUseBox(InGame1, true);
TextDrawBoxColor(InGame1, 7649792);
TextDrawSetShadow(InGame1, 0);
TextDrawSetOutline(InGame1, 159);
TextDrawBackgroundColor(InGame1, -489488640);
TextDrawFont(InGame1, 5);
TextDrawSetPreviewModel(InGame1, 1946);
TextDrawSetPreviewRot(InGame1, 0.000000, 0.000000, 151.000000, 1.000000);
InGame2 = TextDrawCreate(580.333251, 10.785219, "BALKAN");
TextDrawLetterSize(InGame2, 0.084666, 0.413629);
TextDrawAlignment(InGame2, 1);
TextDrawColor(InGame2, -1);
TextDrawSetShadow(InGame2, 0);
TextDrawSetOutline(InGame2, 0);
TextDrawBackgroundColor(InGame2, 255);
TextDrawFont(InGame2, 2);
TextDrawSetProportional(InGame2, 1);
InGame3 = TextDrawCreate(566.666564, 12.444432, "moon");
TextDrawLetterSize(InGame3, 0.354333, 1.210074);
TextDrawAlignment(InGame3, 1);
TextDrawColor(InGame3, 9437183);
TextDrawSetShadow(InGame3, 0);
TextDrawSetOutline(InGame3, 1);
TextDrawBackgroundColor(InGame3, 255);
TextDrawFont(InGame3, 2);
TextDrawSetProportional(InGame3, 1);
InGame4 = TextDrawCreate(575.333129, 23.229623, "COMMUNITY");
TextDrawLetterSize(InGame4, 0.102666, 0.484148);
TextDrawAlignment(InGame4, 1);
TextDrawColor(InGame4, -1);
TextDrawSetShadow(InGame4, 0);
TextDrawSetOutline(InGame4, 1);
TextDrawBackgroundColor(InGame4, 255);
TextDrawFont(InGame4, 2);
TextDrawSetProportional(InGame4, 1);
InGame5 = TextDrawCreate(585.000000, -1.659258, "LD_SPAC:white");
TextDrawLetterSize(InGame5, 0.000000, 0.000000);
TextDrawTextSize(InGame5, 21.000000, 24.888889);
TextDrawAlignment(InGame5, 1);
TextDrawColor(InGame5, -1);
TextDrawUseBox(InGame5, true);
TextDrawBoxColor(InGame5, 0);
TextDrawSetShadow(InGame5, 0);
TextDrawSetOutline(InGame5, 0);
TextDrawFont(InGame4, 5);
TextDrawSetPreviewModel(InGame5, 19065);
TextDrawSetPreviewRot(InGame5, 2.000000, 2.000000, 0.000000, 1.000000);Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
Vaš odgovorSlika/video ingame problema(obavezno ako je ingame problem): ovako izgleda u editoru: https://imgur.com/a/pewo5zf
ovako ig: https://imgur.com/a/jOuCDp5
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
198
Postovi:
41
Teme:
Pridružio se:Maj 2021
5. Dec. 2021.
Common wrote on December 5, 2021, 11:10 pm:
Kako si je kreirao dobra je ispala
TextDrawUseBox(InGame5, false);
TextDrawBackgroundColor(InGame1, 0);
TextDrawUseBox(InGame5, false);
TextDrawBackgroundColor(InGame1, 0);
opet, https://imgur.com/a/t6gviHG
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
198
Postovi:
41
Teme:
Pridružio se:Maj 2021
5. Dec. 2021.
Common wrote on December 5, 2021, 11:20 pm:
Na svim tdovima dodaj
TextDrawBackgroundColor(td, 0);
TextDrawBackgroundColor(td, 0);
sve sam rijesio ali imam box na jednom tdu:
evo kod:
InGame5 = TextDrawCreate(585.000000, -1.659258, "LD_SPAC:white");
TextDrawLetterSize(InGame5, 0.000000, 0.000000);
TextDrawTextSize(InGame5, 21.000000, 24.888889);
TextDrawAlignment(InGame5, 1);
TextDrawColor(InGame5, -1);
TextDrawUseBox(InGame5, false);
TextDrawBoxColor(InGame5, 0);
TextDrawSetShadow(InGame5, 0);
TextDrawSetOutline(InGame5, 0);
TextDrawFont(InGame5, 5);
TextDrawSetPreviewModel(InGame5, 19065);
TextDrawSetPreviewRot(InGame5, 2.000000, 2.000000, 0.000000, 1.000000);i evo slika:
https://imgur.com/a/g5BqWiX
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava
