error 12, 29, fatal error 107.
PHP код:
stock RadiusPlayer(Float:radius, playerid, gplayerid)
{
new Float: x;
new Float: y;
new Float: z;
new Float: oldx;
new Float: oldy;
new Float: oldz;
new Float: tempx;
new Float: tempy;
new Float: tempz;
GetPlayerPos(playerid, oldx, oldy, oldz);
GetPlayerPos(gplayerid, x, y, z);
tempx = (oldx - x);
tempy = (oldy - y);
tempz = (oldz - z);
if(((tempx < radius) && (tempx > -radius)) && ((tempy < radius) && (tempy > -radius)) && ((tempz < radius) (tempz > -radius))) return true;
return true;
}
Ошибки 12, 29 и 107 в строке if(((tempx < radius) && (tempx > -radius)) && ((tempy < radius) && (tempy > -radius)) && ((tempz < radius) (tempz > -radius))) return true;
что неправильно в этой строке?