14.08.2015, 18:44
Quote:
CMDhowtextdraw(playerid, params[]) { TextDrawHideForPlayer(playerid, stats[playerid]); TextDrawHideForPlayer(playerid, xex[playerid]); SelectTextDraw(playerid, 0x00FF00FF); TextDrawHideForPlayer(playerid, nothing[playerid]); return 1; } |
Quote:
public OnPlayerClickPlayerTextDraw(playerid, PlayerTextlayertextid) { printf("Player TextDraw ID %d", playertextid); if(playertextid == xex[playerid]) { TextDrawHideForPlayer(playerid, stats[playerid]); TextDrawHideForPlayer(playerid, xex[playerid]); TextDrawHideForPlayer(playerid, nothing[playerid]); } |