Selectable textdraws
#1

Hi all,
i'm receiving 2 warnings because of selectable textdraws

Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
  if(_:playertextid != INVALID_TEXT_DRAW)//13271
  {
    for(new x=6; x<15; x++)
    {
	   if(playertextid == TickTD[playerid][x])
	   {
            if(TickTurn[playerid]==0) SendClientMessageEx(playerid,-1,"Its not your turn");
            else if(ticbox[playerid][x-6] != 0) SendClientMessageEx(playerid,-1,"You cant draw in this box");
            else tickbox(playerid,x-6);
			break;
	   }
    }
  }
  return 1;
}

public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
  if(_:clickedid == INVALID_TEXT_DRAW) //13253
  {
    if(GetPVarInt(playerid,"InTic")) TogglePlayerControllable(playerid,0),SelectTextDraw(playerid,0xFFFFFFFF);
  }
  return 1;
}
Код:
NFoP\gamemodes\NFOP.pwn(13253) : warning 213: tag mismatch
NFoP\gamemodes\NFOP.pwn(13271) : warning 213: tag mismatch
Reply


Messages In This Thread
Selectable textdraws - by DeMoX - 04.08.2013, 20:53
Re: Selectable textdraws - by Ziyan - 04.08.2013, 21:25
Re: Selectable textdraws - by DeMoX - 04.08.2013, 21:46
Re: Selectable textdraws - by SuperViper - 04.08.2013, 22:38

Forum Jump:


Users browsing this thread: 1 Guest(s)