12.04.2013, 13:25
Hi ,
please help me
Link 206
thanks guys
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; }
Код:
if(IsPlayerInRangeOfPoint(playerid, 2, 699.57281, -1576.63770, 14.16830)) return SendClientMessage(playerid, 0xFF6600FF, " You are not near the door !");