[Help] Deformation in TXD
#1

Hello there, I have a problem, because I did a TextDraw in ITD, which was perfect, but when I enable it in the game, it gets all buggy, I do not know why (I'm not missing anything, I myself checked part by part)

It should be like this (Image of ITD)
https://i.imgur.com/HRVESpS.jpg

but is like that
https://i.imgur.com/i8zvwUs.png

These are the functions I use to enable TXDs
PHP код:
new PlayerText:ClassChanger[MAX_PLAYERS][30];
LoadClassChange(playerid)
{
    
ClassChanger[playerid][1] = CreatePlayerTextDraw(playerid405.500000111.633316"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][1], 0.00000022.356815);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][1], 232.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][1], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][1], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][1], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][1], 102);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][1], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][1], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][1], 0);
    
ClassChanger[playerid][2] = CreatePlayerTextDraw(playerid314.000000145.855560"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][2], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][2], 238.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][2], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][2], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][2], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][2], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][2], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][2], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][2], 0);
    
ClassChanger[playerid][3] = CreatePlayerTextDraw(playerid397.000000146.233337"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][3], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][3], 320.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][3], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][3], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][3], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][3], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][3], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][3], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][3], 0);
    
ClassChanger[playerid][4] = CreatePlayerTextDraw(playerid315.000000180.455596"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][4], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][4], 238.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][4], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][4], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][4], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][4], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][4], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][4], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][4], 0);
    
ClassChanger[playerid][5] = CreatePlayerTextDraw(playerid397.000000179.833343"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][5], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][5], 320.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][5], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][5], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][5], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][5], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][5], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][5], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][5], 0);
    
ClassChanger[playerid][6] = CreatePlayerTextDraw(playerid315.000000214.055572"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][6], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][6], 238.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][6], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][6], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][6], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][6], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][6], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][6], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][6], 0);
    
ClassChanger[playerid][7] = CreatePlayerTextDraw(playerid397.000000214.055572"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][7], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][7], 320.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][7], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][7], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][7], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][7], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][7], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][7], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][7], 0);
    
ClassChanger[playerid][8] = CreatePlayerTextDraw(playerid315.000000248.900070"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][8], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][8], 238.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][8], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][8], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][8], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][8], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][8], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][8], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][8], 0);
    
ClassChanger[playerid][9] = CreatePlayerTextDraw(playerid397.000000248.277770"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][9], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][9], 320.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][9], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][9], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][9], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][9], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][9], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][9], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][9], 0);
    
ClassChanger[playerid][10] = CreatePlayerTextDraw(playerid315.000000283.744445"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][10], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][10], 238.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][10], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][10], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][10], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][10], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][10], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][10], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][10], 0);
    
ClassChanger[playerid][11] = CreatePlayerTextDraw(playerid397.000000283.744476"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][11], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][11], 320.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][11], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][11], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][11], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][11], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][11], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][11], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][11], 0);
    
ClassChanger[playerid][12] = CreatePlayerTextDraw(playerid273.000000118.222213"CLASSES");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][12], 0.4499991.600000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][12], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][12], -1);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][12], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][12], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][12], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][12], 2);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][12], 1);
    
ClassChanger[playerid][13] = CreatePlayerTextDraw(playerid242.500000148.088882"Sobrevivente");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][13], 0.2934991.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][13], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][13], -1);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][13], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][13], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][13], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][13], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][13], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][13], true);
    
ClassChanger[playerid][14] = CreatePlayerTextDraw(playerid257.500000182.688919"Mћdico");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][14], 0.2934991.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][14], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][14], -16711681);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][14], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][14], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][14], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][14], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][14], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][14], true);
    
ClassChanger[playerid][15] = CreatePlayerTextDraw(playerid248.500000216.044479"Engenheiro");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][15], 0.2934991.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][15], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][15], 1724658175);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][15], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][15], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][15], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][15], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][15], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][15], true);
    
ClassChanger[playerid][16] = CreatePlayerTextDraw(playerid257.500000250.644500"Ladrљo");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][16], 0.2934991.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][16], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][16], 13421823);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][16], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][16], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][16], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][16], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][16], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][16], true);
    
ClassChanger[playerid][17] = CreatePlayerTextDraw(playerid249.500000285.866760"Terrorista");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][17], 0.2934991.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][17], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][17], -16776961);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][17], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][17], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][17], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][17], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][17], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][17], true);
    
ClassChanger[playerid][18] = CreatePlayerTextDraw(playerid330.500000148.733398"Mercenrio");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][18], 0.2934991.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][18], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][18], -65281);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][18], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][18], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][18], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][18], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][18], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][18], true);
    
ClassChanger[playerid][19] = CreatePlayerTextDraw(playerid335.000000181.466735"Mec™nico");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][19], 0.2934981.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][19], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][19], 1605042175);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][19], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][19], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][19], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][19], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][19], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][19], true);
    
ClassChanger[playerid][20] = CreatePlayerTextDraw(playerid334.500000216.688964"Assassino");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][20], 0.2934981.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][20], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][20], -5963521);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][20], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][20], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][20], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][20], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][20], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][20], true);
    
ClassChanger[playerid][21] = CreatePlayerTextDraw(playerid341.000000250.666778"Militar");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][21], 0.2934981.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][21], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][21], 8388863);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][21], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][21], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][21], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][21], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][21], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][21], true);
    
ClassChanger[playerid][22] = CreatePlayerTextDraw(playerid337.500000285.889038"Caњador");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][22], 0.2934981.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][22], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][22], 6737151);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][22], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][22], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][22], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][22], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][22], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][22], true);
    
ClassChanger[playerid][23] = CreatePlayerTextDraw(playerid405.500000317.588897"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][23], 0.0000002.693210);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][23], 232.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][23], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][23], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][23], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][23], 102);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][23], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][23], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][23], 0);
    
ClassChanger[playerid][24] = CreatePlayerTextDraw(playerid397.000000316.100036"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][24], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][24], 320.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][24], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][24], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][24], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][24], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][24], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][24], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][24], 0);
    
ClassChanger[playerid][25] = CreatePlayerTextDraw(playerid337.000000318.244598"Lendrio");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][25], 0.2934981.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][25], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][25], -1576992769);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][25], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][25], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][25], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][25], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][25], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][25], true);
    
ClassChanger[playerid][26] = CreatePlayerTextDraw(playerid389.50000092.711112"X");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][26], 0.4499991.600000);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][26], 390.00000015.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][26], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][26], -1);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][26], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][26], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][26], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][26], 2);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][26], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][26], true);
    
ClassChanger[playerid][27] = CreatePlayerTextDraw(playerid315.000000316.100036"usebox");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][27], 0.0000002.083949);
    
PlayerTextDrawTextSize(playeridClassChanger[playerid][27], 238.0000000.000000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][27], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][27], 0);
    
PlayerTextDrawUseBox(playeridClassChanger[playerid][27], true);
    
PlayerTextDrawBoxColor(playeridClassChanger[playerid][27], -215);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][27], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][27], 0);
    
PlayerTextDrawFont(playeridClassChanger[playerid][27], 0);
    
ClassChanger[playerid][28] = CreatePlayerTextDraw(playerid251.500000318.600128"Pistoleiro");
    
PlayerTextDrawLetterSize(playeridClassChanger[playerid][28], 0.2934991.432000);
    
PlayerTextDrawAlignment(playeridClassChanger[playerid][28], 1);
    
PlayerTextDrawColor(playeridClassChanger[playerid][28], -1717960705);
    
PlayerTextDrawSetShadow(playeridClassChanger[playerid][28], 0);
    
PlayerTextDrawSetOutline(playeridClassChanger[playerid][28], 1);
    
PlayerTextDrawBackgroundColor(playeridClassChanger[playerid][28], 51);
    
PlayerTextDrawFont(playeridClassChanger[playerid][28], 1);
    
PlayerTextDrawSetProportional(playeridClassChanger[playerid][28], 1);
    
PlayerTextDrawSetSelectable(playeridClassChanger[playerid][28], true);
    for(new 
129i++)
    {
        
PlayerTextDrawHide(playeridClassChanger[playerid][i]);
    }
}
SupaloaddClassChange(playerid)
{
    for(new 
029i++)
    {
        
PlayerTextDrawShow(playeridClassChanger[playerid][i]);
    }
}
UnloadClassChange(playerid)
{
    for(new 
029i++)
    {
        
PlayerTextDrawHide(playeridClassChanger[playerid][i]);
    }

and here is the command I use to call TXDs
PHP код:
CMD:trocar(playeridparams[])
{
    if(!
IsPlayerInRangeOfPoint(playerid1.0212.691822.856.41))
        return 
SendClientMessage(playeridRED"[ > ] Vocк nгo estб na бrea correta para realizar esta aзгo.");
    
LoadClassChange(playerid);
    
SupaloaddClassChange(playerid);
    
SelectTextDraw(playerid0xa6a8a6FF);
    return 
1;

Does anyone know the reason for the strange deformation that happened?
Reply
#2

Someone know why?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)