28.03.2009, 13:39
Code:
for(new i, m = GetMaxPlayers(); i < m; i++)
{
if(IsPlayerInRangeOfPoint(i, 7, xa, ya, za) || IsPlayerInRangeOfPoint(i, 7, xb, yb, zb) || IsPlayerInRangeOfPoint(i, 7, xc, yc, zc) || IsPlayerInRangeOfPoint(i, 7, xd, yd, zd) || IsPlayerInRangeOfPoint(i, 7, xe, ye, ze))
{
ApplyAnimation(i, "blahblah", "blahblahblah", 4.0, 0, 0, 0, 0, 0);
Tblah=SetTimerEx("blah", 1500, 0, "d", i);
return 1;
}
}

[Edit] Is it because I am return 1; after I apply the animation? Therefore stopping the Loop?!?!?!

