Jump to content
Jakkle

MATH.Scar

Recommended Posts

Getting this,

RandomRangeG: Unknown Identifier

{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
function RR(Min, Max: Integer): Integer;
Contributors: Freddy, Wanted.
Description: Outputs a value within a range.
Date Created: September 22nd, 2011. By Wanted
Last Modification: September 22nd, 2011. By Wanted
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}

function RR(Min, Max: Integer): Integer;
begin
 {$IFDEF NoVariance}
   Result := RandomRange(Min, Max);
 {$ELSE}
   Result := RandomRangeG(Min, Max, OSI_Variance);
 {$ENDIF}
end;

Link to comment
Share on other sites

Yea only be sure that you are coding in scar.exe that is in that same folder scar/bin/scar.exe and that your includes are in your workplace include folder and plugins from osi/plugins are in your workplace/plugins folder. Sometimes you will accidentally find yourself coding in an older SCAR

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...