Habe bemerkt das ich im Public die Textdraws gezeigt habe anstatt zu hiden. Habe das verbessert aber es scheint nicht zu helfen
C
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid ==Textdraw1)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Textdraw closed.");
Showing[playerid] =0;
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Textdraw2);
TextDrawHideForPlayer(playerid, Textdraw3);
TextDrawHideForPlayer(playerid, Textdraw4);
TextDrawHideForPlayer(playerid, Textdraw5);
TextDrawHideForPlayer(playerid, Textdraw6);
CancelSelectTextDraw(playerid);
}
return 1;
}
Alles anzeigen