23.05.2012, 09:00
Hello,i've this IsPlayerInRangeOfPoint check in my command.
But seems not work when i compile:
3349 : error 029: invalid expression, assumed zero
3349 -- 3350 : warning 215: expression has no effect
3350 : error 001: expected token: ";", but found "if"
3350 : warning 213: tag mismatch
What's wrong?
pawn Код:
if(!IsPlayerInRangeOfPoint( playerid, 7.0, -1955.7682, 306.0241, 41.0471 ) && !IsPlayerInRangeOfPoint( playerid, 7.0, -2051.8413, 86.1440, 28.3977 ) && !IsPlayerInRangeOfPoint( playerid, 7.0, -2141.5591, -256.7738, 40.7195 )&& !IsPlayerInRangeOfPoint( playerid, 7.0, 379.6270,-8.7878,1001.8516 ) && !IsPlayerInRangeOfPoint( playerid, 7.0, 216.6623,-100.1878,1005.2578 ) && !IsPlayerInRangeOfPoint( playerid, 7.0, 379.7124,-59.6829,1001.5078 ) ))
if(!IsPlayerInRangeOfPoint( playerid, 7.0, -2031.0654,-117.4350,1035.1719 && !IsPlayerInRangeOfPoint( playerid, 7.0, 365.1240,-6.7055,1001.8516 ) && !IsPlayerInRangeOfPoint( playerid, 7.0, -201.7283,-7.8537,1002.2734 ) && !IsPlayerInRangeOfPoint( playerid, 7.0, 296.7915,-35.3443,1001.5156 )))
3349 : error 029: invalid expression, assumed zero
3349 -- 3350 : warning 215: expression has no effect
3350 : error 001: expected token: ";", but found "if"
3350 : warning 213: tag mismatch
What's wrong?