SOME textdraw blink or should be jerky
#5

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)
Reply


Messages In This Thread
SOME textdraw blink or should be jerky - by AlexPalermitano97 - 26.07.2016, 18:37
Re: SOME textdraw blink or should be jerky - by Deadpoop - 26.07.2016, 19:00
Re: SOME textdraw blink or should be jerky - by AlexPalermitano97 - 26.07.2016, 20:24
Re: SOME textdraw blink or should be jerky - by Flake. - 26.07.2016, 20:55
Re: SOME textdraw blink or should be jerky - by AlexPalermitano97 - 26.07.2016, 21:01
Re: SOME textdraw blink or should be jerky - by AlexPalermitano97 - 26.07.2016, 22:44
Re: SOME textdraw blink or should be jerky - by AlexPalermitano97 - 27.07.2016, 10:42

Forum Jump:


Users browsing this thread: 1 Guest(s)