17.12.2013, 21:40
Not a bug at all and it is not pointless.
How hard is it to that ?
pawn Код:
forward ClickPlayerItemDraw(playerid, Text:clickedid);
public ClickPlayerItemDraw(playerid, Text:clickedid)
{
// Close code
if(Text:INVALID_TEXT_DRAW == clickedid)
{
HidePlayerItemDraws(playerid);
TextDrawOpen[playerid] = false;
PlayerItemDrawOpen[playerid] = false;
}
// Click Close
else if(Text:Click_Itemdraw_Close == clickedid) CancelSelectTextDraw(playerid);
}