Pomoc oko Textdraw-a

Započeo Jesteibice
23. Apr. 2020. Zaključano
652
pregleda
5
postova
Jesteibice
3
Hustler
23. Apr. 2020.
Problem(error/warning): Zasto se pojavi ovo crno oko ikonice
Dio skripte:


InGameTD = TextDrawCreate(524.275207, 108.499992, "LD_SPAC:white");
TextDrawLetterSize(InGameTD, 0.007964, 1.252042);
TextDrawTextSize(InGameTD, 20.146408, 12.250000);
TextDrawAlignment(InGameTD, 1);
TextDrawColor(InGameTD, -1);
TextDrawUseBox(InGameTD, true);
TextDrawBoxColor(InGameTD, 0);
TextDrawSetShadow(InGameTD, 0);
TextDrawSetOutline(InGameTD, 0);
TextDrawFont(InGameTD, 5);
TextDrawSetPreviewModel(InGameTD, 1274);
TextDrawSetPreviewRot(InGameTD, 343.000000, 0.000000, 0.000000, 1.000000);

InGameTD = TextDrawCreate(525.680908, 122.499992, "LD_SPAC:white");
TextDrawLetterSize(InGameTD, 0.000000, 0.000000);
TextDrawTextSize(InGameTD, 18.740829, 20.416656);
TextDrawAlignment(InGameTD, 1);
TextDrawColor(InGameTD, -1);
TextDrawUseBox(InGameTD, true);
TextDrawBoxColor(InGameTD, 0);
TextDrawSetShadow(InGameTD, 0);
TextDrawSetOutline(InGameTD, 0);
TextDrawFont(InGameTD, 5);
TextDrawSetPreviewModel(InGameTD, 19941);
TextDrawSetPreviewRot(InGameTD, 345.000000, 0.000000, 0.000000, 1.000000);

InGameTD = TextDrawCreate(526.617919, 146.416671, "LD_SPAC:white");
TextDrawLetterSize(InGameTD, 0.000000, 0.000000);
TextDrawTextSize(InGameTD, 15.929702, 18.083343);
TextDrawAlignment(InGameTD, 1);
TextDrawColor(InGameTD, -1);
TextDrawUseBox(InGameTD, true);
TextDrawBoxColor(InGameTD, 0);
TextDrawSetShadow(InGameTD, 0);
TextDrawSetOutline(InGameTD, 0);
TextDrawFont(InGameTD, 5);
TextDrawSetPreviewModel(InGameTD, 1210);
TextDrawSetPreviewRot(InGameTD, 0.000000, 0.000000, 0.000000, 1.000000);

    InGameTD = TextDrawCreate(467.584289, 99.750007, "LD_SPAC:white");
TextDrawLetterSize(InGameTD, 0.000000, 0.000000);
TextDrawTextSize(InGameTD, 84.802322, 70.000000);
TextDrawAlignment(InGameTD, 1);
TextDrawColor(InGameTD, -1);
TextDrawUseBox(InGameTD, true);
TextDrawBoxColor(InGameTD, 0);
TextDrawSetShadow(InGameTD, 0);
TextDrawSetOutline(InGameTD, 0);
TextDrawFont(InGameTD, 5);
TextDrawSetPreviewModel(InGameTD, 249);
TextDrawSetPreviewRot(InGameTD, 0.000000, 0.000000, 0.000000, 1.000000);



Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): /

Slika/video ingame problema(obavezno ako je ingame problem):https://imgur.com/a/tsyvgQn
Skrilew
6
Godfather
23. Apr. 2020.
Postoje 2 mogucnosti. Ili imas taj textdraw koji je crne boje, tacnije crni box, ili ti je na nekom modelu podesena boja pozadine na crnu umesto transparentnu ili koju vec koristis. Da se ne bi jebavao oko toga bespotrebno, najlakse ti je uraditi nove tdove :/
lukac
2
Wheel Man
23. Apr. 2020.
Moras podesiti boju pozadine, nemas je nigde.

TextDrawBackgroundColor(InGameTD, 0x00000000);


I tako za svaki dodaj.
Jesteibice
3
Hustler
23. Apr. 2020.
Lule wrote on April 23, 2020, 2:16 pm:
Moras podesiti boju pozadine, nemas je nigde.

TextDrawBackgroundColor(InGameTD, 0x00000000);


I tako za svaki dodaj.

Da.... setio sam se toga ali i resio ali hvala bogu tu je jos 1 problem, ne prikazuje se dvotacka

    BankaIgraca[ playerid ] = CreatePlayerTextDraw (playerid, 540.204833, 107.916687, ":00000000$");
PlayerTextDrawLetterSize(playerid, BankaIgraca[ playerid ], 0.232135, 1.249999);
PlayerTextDrawAlignment(playerid, BankaIgraca[ playerid ], 1);
PlayerTextDrawColor(playerid, BankaIgraca[ playerid ], -1);
PlayerTextDrawUseBox(playerid, BankaIgraca[ playerid ], true);
PlayerTextDrawBoxColor(playerid, BankaIgraca[ playerid ], 0);
PlayerTextDrawSetShadow(playerid, BankaIgraca[ playerid ], 0);
PlayerTextDrawSetOutline(playerid, BankaIgraca[ playerid ], 1);
PlayerTextDrawBackgroundColor(playerid, BankaIgraca[ playerid ], 51);
PlayerTextDrawFont(playerid, BankaIgraca[ playerid ], 2);
PlayerTextDrawSetProportional(playerid, BankaIgraca[ playerid ], 1);

slika: https://imgur.com/a/kQG2MYR
FunnyGamingDay - FGD
6
OG Legend
24. Apr. 2020.
Jesteibice wrote on April 23, 2020, 2:25 pm:
Da.... setio sam se toga ali i resio ali hvala bogu tu je jos 1 problem, ne prikazuje se dvotacka

    BankaIgraca[ playerid ] = CreatePlayerTextDraw (playerid, 540.204833, 107.916687, ":00000000$");
PlayerTextDrawLetterSize(playerid, BankaIgraca[ playerid ], 0.232135, 1.249999);
PlayerTextDrawAlignment(playerid, BankaIgraca[ playerid ], 1);
PlayerTextDrawColor(playerid, BankaIgraca[ playerid ], -1);
PlayerTextDrawUseBox(playerid, BankaIgraca[ playerid ], true);
PlayerTextDrawBoxColor(playerid, BankaIgraca[ playerid ], 0);
PlayerTextDrawSetShadow(playerid, BankaIgraca[ playerid ], 0);
PlayerTextDrawSetOutline(playerid, BankaIgraca[ playerid ], 1);
PlayerTextDrawBackgroundColor(playerid, BankaIgraca[ playerid ], 51);
PlayerTextDrawFont(playerid, BankaIgraca[ playerid ], 2);
PlayerTextDrawSetProportional(playerid, BankaIgraca[ playerid ], 1);

slika: https://imgur.com/a/kQG2MYR

Pogledaj da li imas te dve tacke gde si Stringovao (povezao) taj TD sa bankom 🙂

Former SA:MP server developer

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha