07.05.2015, 17:59
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]);
- I am using OnPlayerClickPlayerTextDraw
- I am using PlayerTextDrawSetSelectable
- I am using SelectTextDraw (Assuming both global and per-player works on the same function.)