textdraw bug
#1

Hey, need some help. why not showing textdraw..

Код:
new Text:Darbo_TD[MAX_PLAYERS][15];
 
for(new p = 0; p < MAX_PLAYERS; p++)
{ 
 
Darbo_TD[p][0] = TextDrawCreate(183.000000, 137.500000, "box");
TextDrawLetterSize(Darbo_TD[p][0], 0.000000, 17.000003);
TextDrawTextSize(Darbo_TD[p][0], 498.000000, 0.000000);
TextDrawAlignment(Darbo_TD[p][0], 1);
TextDrawColor(Darbo_TD[p][0], 404166657);
TextDrawUseBox(Darbo_TD[p][0], 1);
TextDrawBoxColor(Darbo_TD[p][0], 404166911);
TextDrawSetShadow(Darbo_TD[p][0], 0);
TextDrawSetOutline(Darbo_TD[p][0], 0);
TextDrawBackgroundColor(Darbo_TD[p][0], 404166657);
TextDrawFont(Darbo_TD[p][0], 1);
TextDrawSetProportional(Darbo_TD[p][0], 1);
TextDrawSetShadow(Darbo_TD[p][0], 0);

}
CMD:darbas(playerid)
{
    SelectTextDraw(playerid, 0xFFFFFFFF);
 
for(new s = 0; s < 15; s++) TextDrawShowForPlayer(playerid, Darbo_TD[playerid][s]);
 
return 1;
Reply
#2

for(new s = 0; s < 15; s++) || TextDrawShowForPlayer(playerid, Darbo_TD[playerid][s]);

Maybe?
Reply
#3

No..
Reply
#4

alpha 0x01 ?
color 0x18171801
Reply
#5

A) You should probably create and show textdraw before using selecttextdraw, try changin their places, it MIGHT help
B) Why the h.. are you making global textdraws for player scales ? try using this type of textdraw if you want playerid bound textdraws https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw
Reply
#6

bug is not in here.. i dont know but all textdraw dont work..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)