chwiggy
05-01-2007, 07:52 AM
This is a short tutorial on how to get older functions and procedures such as well anything in the extended folder, if you dont include the files from the extended folder when using older commands you will get hit with unknown identifier errors, yes they do suck. Lol.. Ok here we go.
This tutorial assumes you know the basics of including.
1) Open your program.
2) Under your {.include SRL/SRL.scar} , include the file which holds the function or procedure you need.
Thats it. 2 Steps.
For example you may want to use
function WeAreInMM(WhichDTM: Integer): Boolean;
By: WT-Fakawi
Description:
Finds DTM in minimap.
function WeAreInMS(WhichDTM: Integer): Boolean;
By: WT-Fakawi
Description:
Finds DTM in main screen.
those two commands in your script but its not working. so you include the xDtm.scar file found in the extended folder so your script should look like this where you put your includes.
program New;
{.include SRL/SRL.scar}
{.include SRL/SRL/extended/xDTM.scar}
Including the xDTM.scar file opens up all the older functions and procedures.
Note: some of these may be out-dated with newer stuff.
Hope this helps.
This is my first tutorial on this - many people seem to be having trouble, i did until i figured it out myself rofl. :f:
This tutorial assumes you know the basics of including.
1) Open your program.
2) Under your {.include SRL/SRL.scar} , include the file which holds the function or procedure you need.
Thats it. 2 Steps.
For example you may want to use
function WeAreInMM(WhichDTM: Integer): Boolean;
By: WT-Fakawi
Description:
Finds DTM in minimap.
function WeAreInMS(WhichDTM: Integer): Boolean;
By: WT-Fakawi
Description:
Finds DTM in main screen.
those two commands in your script but its not working. so you include the xDtm.scar file found in the extended folder so your script should look like this where you put your includes.
program New;
{.include SRL/SRL.scar}
{.include SRL/SRL/extended/xDTM.scar}
Including the xDTM.scar file opens up all the older functions and procedures.
Note: some of these may be out-dated with newer stuff.
Hope this helps.
This is my first tutorial on this - many people seem to be having trouble, i did until i figured it out myself rofl. :f: