04.03.2015, 22:43
stock IsAtDuty(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 100.0, 246.806, 107.572, 1003.219)) return 1;
if(IsPlayerInRangeOfPoint(playerid, 100.0, 288.756,167.346,1007.172)) return 1;
return 0;
}
Change return 1 with 0
{
if(IsPlayerInRangeOfPoint(playerid, 100.0, 246.806, 107.572, 1003.219)) return 1;
if(IsPlayerInRangeOfPoint(playerid, 100.0, 288.756,167.346,1007.172)) return 1;
return 0;
}
Change return 1 with 0