26.07.2016, 21:01
only these three textdraw are jerky
OnGameModeInIy
OnPlayerUpdate
//fame(eat) - //sete(drink) - //zona(zone)
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); |
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]); |