Započeo Jesteibice
•23. Apr. 2020.• ZaključanoPomoc oko Textdraw-a
716
pregleda
5
postova
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
68
Postovi:
21
Teme:
Pridružio se:Apr. 2020
23. Apr. 2020.
Problem(error/warning): Zasto se pojavi ovo crno oko ikonice
Dio skripte:
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
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
Godfather
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
17 / 250 XP
Početnik(1)
2,272
Postovi:
76
Teme:
Pridružio se:Maj 2014
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 :/
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
68
Postovi:
21
Teme:
Pridružio se:Apr. 2020
23. Apr. 2020.
Lule wrote on April 23, 2020, 2:16 pm:
Moras podesiti boju pozadine, nemas je nigde.
I tako za svaki dodaj.
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
OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP Doprinos2
Aktivan Član
106 / 250 XP
Početnik(2)
3,781
Postovi:
192
Teme:
Pridružio se:Jan. 2017
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
slika: https://imgur.com/a/kQG2MYR
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
Founder @ cyformat.rs
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava

