help for warning 225: unreachable code
#1

Hi ,

please help me


Код:
C:\Documents and Settings\Administrateur\Bureau\Test rp\filterscripts\a.pwn(206) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/opengatefire", cmdtext, true, 10) == 0)
	{
		if(IsPlayerInRangeOfPoint(playerid, 2, 688.91492, -1576.63770, 14.49800)) return SendClientMessage(playerid, 0xFF6600FF, "   You are not near the door !");
  		{
			MoveObject(Gatefire1, 688.9149, -1576.6377, 11.2180, 1.5);
			SendClientMessage(playerid, 0xFF6600FF, "This Gate has open Now");
			SetTimer("closegatefire1", 10000, false);
			return 1;
		}
		if(IsPlayerInRangeOfPoint(playerid, 2, 699.57281, -1576.63770, 14.16830)) return SendClientMessage(playerid, 0xFF6600FF, "   You are not near the door !");
		{
			MoveObject(Gatefire2, 699.5728, -1576.6377, 10.9980, 1.5);
			SendClientMessage(playerid, 0xFF6600FF, "This Gate has open Now");
			SetTimer("closegatefir2", 10000, false);
			return 1;
		}
	}
	return 0;
}
Link 206

Код:
		if(IsPlayerInRangeOfPoint(playerid, 2, 699.57281, -1576.63770, 14.16830)) return SendClientMessage(playerid, 0xFF6600FF, "   You are not near the door !");
thanks guys
Reply


Messages In This Thread
help for warning 225: unreachable code - by morocco - 12.04.2013, 13:25
Re: help for warning 225: unreachable code - by Faisal_khan - 12.04.2013, 13:29
Re: help for warning 225: unreachable code - by morocco - 12.04.2013, 13:37
Re: help for warning 225: unreachable code - by Pottus - 12.04.2013, 13:44
Re: help for warning 225: unreachable code - by morocco - 12.04.2013, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)