Need help with TextDrawTextSize
#1

pawn Код:
cCharacter1[playerid] = CreatePlayerTextDraw(playerid, 547.000000, 170.000000, charName[0]);
                    PlayerTextDrawAlignment(playerid, cCharacter1[playerid], 2);
                    PlayerTextDrawBackgroundColor(playerid, cCharacter1[playerid], 255);
                    PlayerTextDrawFont(playerid, cCharacter1[playerid], 2);
                    PlayerTextDrawLetterSize(playerid, cCharacter1[playerid], 0.220000, 1.200000);
                    PlayerTextDrawColor(playerid, cCharacter1[playerid], -1);
                    PlayerTextDrawSetOutline(playerid, cCharacter1[playerid], 0);
                    PlayerTextDrawSetProportional(playerid, cCharacter1[playerid], 1);
                    PlayerTextDrawSetShadow(playerid, cCharacter1[playerid], 0);

                    PlayerTextDrawSetSelectable(playerid, cCharacter1[playerid], 1);
                    PlayerTextDrawShow(playerid, cCharacter1[playerid]);
                    PlayerTextDrawTextSize(playerid, cCharacter1[playerid], 23.0, 23.0);
I know that the problem is in PlayerTextDrawTextSize, i don't get what coords I should put in there, I have looked at other scripts, which uses the same function, I just don't get how I am supposed to get the coords. When I hover the mouse over this text, it's ok, but if I hover it under the text, it sets the hover color.
Reply


Messages In This Thread
Need help with TextDrawTextSize | A problem with selectable textdraws. - by WooTFTW - 09.04.2012, 19:33
Re: Need help with TextDrawTextSize - by Hiddos - 09.04.2012, 20:16
Re: Need help with TextDrawTextSize - by WooTFTW - 09.04.2012, 20:30
Re: Need help with TextDrawTextSize - by CyNiC - 09.04.2012, 21:47
Re: Need help with TextDrawTextSize - by WooTFTW - 09.04.2012, 22:06
Re: Need help with TextDrawTextSize - by CyNiC - 09.04.2012, 22:49
Re: Need help with TextDrawTextSize - by WooTFTW - 10.04.2012, 08:21

Forum Jump:


Users browsing this thread: 1 Guest(s)