Need Help.
#1

Yolo guys, I need your help.

Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{

(line number)(20983) :  if(_:playertextid != INVALID_TEXT_DRAW)

  {
    for(new x=6; x<15; x++)
    {
	   if(playertextid == TickTD[playerid][x])
	   {
            if(TickTurn[playerid]==0) SendClientMessage(playerid,-1,"Its not your turn");
            else if(ticbox[playerid][x-6] != 0) SendClientMessage(playerid,-1,"You cant draw in this box");
            else tickbox(playerid,x-6);
			break;
	   }
    }
  }
  return 1;
}
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
(line number)(21000) :  if(_:clickedid == INVALID_TEXT_DRAW)
  {
    if(GetPVarInt(playerid,"InTic")) TogglePlayerControllable(playerid,0), SelectTextDraw(playerid,0xFFFFFFFF);
  }
  return 1;
}
Код:
(20983) : warning 213: tag mismatch
(21000) : warning 213: tag mismatch
I don't know what is wrong, i just can't fix this.
Код:
(44503) : warning 203: symbol is never used: "available"
(44503) : warning 203: symbol is never used: "con"
(44503) : warning 203: symbol is never used: "content"
(44503) : warning 203: symbol is never used: "cstring2"
(44503) : warning 203: symbol is never used: "dstring"
But my last lines are :
Код:
AntiDeAMX()
{
	new a[][] =
	{
		"Unarmed (Fist)",
		"Brass K"
	};
	#pragma unused a
}
Help me please, i will rep you guys.
Reply
#2

no problem with these warnings ....
your gamemode will be work ok.
Reply
#3

But bro it makes my game mode crash after some time.
Reply
#4

pawn Код:
if(playertextid != PlayerText:INVALID_TEXT_DRAW)
pawn Код:
if(clickedid == Text:INVALID_TEXT_DRAW)
Reply
#5

if gamemode crash, check other things ... these are a little errors.
for fix these errors :
Код:
(44503) : warning 203: symbol is never used: "available"
(44503) : warning 203: symbol is never used: "con"
(44503) : warning 203: symbol is never used: "content"
(44503) : warning 203: symbol is never used: "cstring2"
(44503) : warning 203: symbol is never used: "dstring"
try to find the whole stock and remove it.
Reply
#6

Thank you to both of you.

REP+ to both )))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)