30.07.2012, 06:18
Why is this an unreachable code?
Im not asking anyone to fix it for me im asking whats the problem with it. (but fixing it for me is fine also.)
Код:
if (strcmp("/closetank47", cmdtext, false, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid, 2, 652.20001220703, -1506.3000488281, 23.5)) { SendClientMessage(playerid, 0x10F441AA, "Tank Closed!"); Create3DTextLabel("Tank Closed!", 0x10F441AA, 658.70001220703, -1507.5999755859, 22, 40.0, 0, 1); return 1; } else { SendClientMessage(playerid, 0xAFAFAFAA, "Get Closer to the Tank!"); return 1; } return 1; }