Problem with selectable textdraw
#1

i created this textdraw

pawn Код:
TextdrawClassZ = CreatePlayerTextDraw(playerid,170.000000, 180.000000, "Low Noob");
    PlayerTextDrawBackgroundColor(playerid,TextdrawClassZ, 255);
    PlayerTextDrawFont(playerid,TextdrawClassZ, 2);
    PlayerTextDrawLetterSize(playerid,TextdrawClassZ, 0.500000, 1.000000);
    PlayerTextDrawColor(playerid,TextdrawClassZ, 16711935);
    PlayerTextDrawSetOutline(playerid,TextdrawClassZ, 1);
    PlayerTextDrawSetProportional(playerid,TextdrawClassZ, 1);
    PlayerTextDrawSetSelectable(playerid,TextdrawClassZ, 1);
also made it selectable but when i move my mouse on the textdraw, it blinks but other textdraws do the same (which are selectable), is there anything else that i need to add ?
Reply
#2

TextDrawTextSize.
Reply
#3

and what about the coordinates ?

same as letter size or something ?
Reply
#4

You'd better read: https://sampwiki.blast.hk/wiki/TextDrawTextSize
Reply
#5

Play around with different values until it works.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)