SCAR Code:if (FindDtmRotated(bankers,x,y, MMX1, MMY1, MMX2, MMY2, rs_GetCompassAngleRadians-pi/4, rs_GetCompassAngleRadians+pi/4, 0.05, N) then
Line 199: [Error] (12826:130): Type mismatch in script
^^ thats line 199, what do i do =S xD
SCAR Code:if (FindDtmRotated(bankers,x,y, MMX1, MMY1, MMX2, MMY2, rs_GetCompassAngleRadians-pi/4, rs_GetCompassAngleRadians+pi/4, 0.05, N) then
Line 199: [Error] (12826:130): Type mismatch in script
^^ thats line 199, what do i do =S xD
Is 'n' declared as an extended?
SCAR Code:var
n : extended;



You were missing a closing parentheses, but I'm not sure if that's where the error came from.SCAR Code:if (FindDtmRotated(bankers,x,y, MMX1, MMY1, MMX2, MMY2, rs_GetCompassAngleRadians-pi/4, rs_GetCompassAngleRadians+pi/4, 0.05, N)) then
There are currently 1 users browsing this thread. (0 members and 1 guests)