SA-MP Forums Archive
SOME textdraw blink or should be jerky - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SOME textdraw blink or should be jerky (/showthread.php?tid=613339)



SOME textdraw blink or should be jerky - AlexPalermitano97 - 26.07.2016

Why when I log In the server SOME textdraw blink or should be jerky?

Why?


Re: SOME textdraw blink or should be jerky - Deadpoop - 26.07.2016

Do you use 2 td in same position?


Re: SOME textdraw blink or should be jerky - AlexPalermitano97 - 26.07.2016

No but there are close, for exemple

1 x=520 y=150
2 x=520 y=160


Re: SOME textdraw blink or should be jerky - Flake. - 26.07.2016

Do any of them have box's colliding?


Re: SOME textdraw blink or should be jerky - AlexPalermitano97 - 26.07.2016

only these three textdraw are jerky

OnGameModeInIy
Quote:

//Fame
format(string4, sizeof(string4), "Fame: %d", PlayerInfo[playerid][pFame]);
Textfame[playerid] = CreatePlayerTextDraw(playerid,532.0,150.0,string4) ;
PlayerTextDrawLetterSize(playerid,Textfame[playerid],0.399999,1);
PlayerTextDrawColor(playerid,Textfame[playerid],ROSSO);
PlayerTextDrawFont(playerid,Textfame[playerid],1);
PlayerTextDrawSetOutline(playerid,Textfame[playerid],1);
PlayerTextDrawSetShadow(playerid,Textfame[playerid],1);
//Sete
format(string5, sizeof(string5), "Sete: %d", PlayerInfo[playerid][pSete]);
Textsete[playerid] = CreatePlayerTextDraw(playerid,532.0,160.0,string5) ;
PlayerTextDrawLetterSize(playerid,Textsete[playerid],0.399999,1);
PlayerTextDrawColor(playerid,Textsete[playerid],COLOR_LIGHTBLUE);
PlayerTextDrawFont(playerid,Textsete[playerid],1);
PlayerTextDrawSetOutline(playerid,Textsete[playerid],1);
PlayerTextDrawSetShadow(playerid,Textsete[playerid],1);
//Zona
format(string6, sizeof(string6), "%s", houselocation);
zona[playerid] = CreatePlayerTextDraw(playerid,42.0,321.0,string6);
PlayerTextDrawLetterSize(playerid,zona[playerid],0.4,1.3);
PlayerTextDrawColor(playerid,zona[playerid],COLOR_WHITE);
PlayerTextDrawFont(playerid,zona[playerid],3);
PlayerTextDrawSetOutline(playerid,zona[playerid],1);
PlayerTextDrawSetShadow(playerid,zona[playerid],1);

OnPlayerUpdate
Quote:

//FAME
new string4[128];
PlayerTextDrawHide(playerid, Textfame[playerid]);
if(PlayerInfo[playerid][pFame] < 0)
{
PlayerInfo[playerid][pFame] = 0;
}
format(string4, sizeof (string4), "Fame: %d", PlayerInfo[playerid][pFame]);
PlayerTextDrawSetString(playerid, Textfame[playerid], string4);
PlayerTextDrawShow(playerid, Textfame[playerid]);
//SETE
new string5[128];
PlayerTextDrawHide(playerid, Textsete[playerid]);
if(PlayerInfo[playerid][pSete] < 0)
{
PlayerInfo[playerid][pSete] = 0;
}
format(string5, sizeof (string5), "Sete: %d", PlayerInfo[playerid][pSete]);
PlayerTextDrawSetString(playerid, Textsete[playerid], string5);
PlayerTextDrawShow(playerid, Textsete[playerid]);
//ZONA
new string6[128];
PlayerTextDrawHide(playerid, zona[playerid]);
format(string6, sizeof(string6), "%s", houselocation);
PlayerTextDrawSetString(playerid, zona[playerid], string6);
PlayerTextDrawShow(playerid, zona[playerid]);
//fame(eat) - //sete(drink) - //zona(zone)


Re: SOME textdraw blink or should be jerky - AlexPalermitano97 - 26.07.2016

Why?


Re: SOME textdraw blink or should be jerky - AlexPalermitano97 - 27.07.2016

UP!!