Quick Assistance regarding player textdraws selecting
#1

pawn Код:
InventoryHeader[playerid] = CreatePlayerTextDraw(playerid,x,y,string);
        PlayerTextDrawBackgroundColor(playerid,InventoryHeader[playerid], 255);
        PlayerTextDrawFont(playerid,InventoryHeader[playerid], 3);
        PlayerTextDrawLetterSize(playerid,InventoryHeader[playerid], 0.319999, 1.000000);
        PlayerTextDrawColor(playerid,InventoryHeader[playerid], 33023);
        PlayerTextDrawSetOutline(playerid,InventoryHeader[playerid], 1);
        PlayerTextDrawSetProportional(playerid,InventoryHeader[playerid], 1);
        PlayerTextDrawShow(playerid,InventoryHeader[playerid]);
What's wrong with this? I am unable to select it.

  • I am using OnPlayerClickPlayerTextDraw
  • I am using PlayerTextDrawSetSelectable
  • I am using SelectTextDraw (Assuming both global and per-player works on the same function.)
Reply
#2

Nevermind, managed to fix it after placing the PlayerTextDrawSetSelectable below the creation.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)