problem sa tdom


Započeo krizmanikdev, Decembar 06, 2021, 00:05:54 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): bozicna kapa se ne prikazuje, stvara se neki veliki box?
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š odgovor

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

Kako si je kreirao dobra je ispala
TextDrawUseBox(InGame5, false);
TextDrawBackgroundColor(InGame1, 0);

[Filterscript] Simple Treasure Hunt
[Filterscript] Sistem pecanja
[Filterscript] Meditacija
[Filterscript] Molitva
[Include] Alarm
[Include] Posao Taxi

Citat: Common poslato Decembar 06, 2021, 00:10:35 PRE PODNE
Kako si je kreirao dobra je ispala
TextDrawUseBox(InGame5, false);
TextDrawBackgroundColor(InGame1, 0);
opet, https://imgur.com/a/t6gviHG

Na svim tdovima dodaj
TextDrawBackgroundColor(td, 0);

[Filterscript] Simple Treasure Hunt
[Filterscript] Sistem pecanja
[Filterscript] Meditacija
[Filterscript] Molitva
[Include] Alarm
[Include] Posao Taxi

Citat: Common poslato Decembar 06, 2021, 00:20:54 PRE PODNE
Na svim tdovima dodaj
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

pa stavi i tu background color na 0

[Filterscript] Simple Treasure Hunt
[Filterscript] Sistem pecanja
[Filterscript] Meditacija
[Filterscript] Molitva
[Include] Alarm
[Include] Posao Taxi

TextdrawBackgroundColor(InGame5, 0x00000000); //Transparentna boja