16.03.2015, 03:33
Tried?
pawn Код:
new Float:animX, Float:animY, Float:animZ;
new anim = GetPlayerAnimationIndex(i);
GetPlayerPos(i, animX, animY, animZ);
if((anim >= 1538) && (anim <= 1542) && animZ > 5 )
{
if(IsPlayerInRangeOfPoint(i, 50.0,-607.6102,2167.9099,40.0407 ))
{
return 1;
}
else if(IsPlayerInRangeOfPoint(i, 50.0,-864.9051,2163.2908,40.4246 ))
{
return 1;
}
else if(IsPlayerInRangeOfPoint(i, 50.0,-963.2916,2451.0042,40.4246 ))
{
return 1;
}
else if(IsPlayerInRangeOfPoint(i, 50.0,-1073.5398,2686.9316,40.4246 ))
{
return 1;
}
else if(IsPlayerInRangeOfPoint(i, 50.0,-1133.2911,2776.9795,40.4246 ))
{
return 1;
}
else if(IsPlayerInRangeOfPoint(i, 50.0,-937.1145,2678.2732,40.4246 ))
{
return 1;
}
else if(IsPlayerInRangeOfPoint(i, 50.0,-1182.6296,2164.0837,40.4246 ))
{
return 1;
}
else if(IsPlayerInRangeOfPoint(i, 50.0,-1305.4430,2113.1953,40.4246 ))
{
return 1;
}
else if(IsPlayerInRangeOfPoint(i, 50.0,-1369.6489,2114.4470,40.4246 ))
{
return 1;
}
else if(IsPlayerInRangeOfPoint(i, 50.0,2021.3466,1673.1593,8.0484 ))
{
return 1;
}
else if(IsPlayerInRangeOfPoint(i, 50.0,2143.2383,1285.6169,7.9766 ))
{
return 1;
}
else if(IsPlayerInRangeOfPoint(i, 50.0,2101.0918,1910.8403,9.0792 ))
{
return 1;
}
else
{
SendClientMessage(playerid, -1,"You have been banned because you were not......");
Ban(i);
}
}