Log in

View Full Version : How do you add includes to scripts?



I_Am_A_Chip
12-30-2006, 02:31 AM
Hi, when i open a script how do i add the include to that script? Thanks.

h4ph4z4rd
12-30-2006, 03:50 AM
If you're not writing the script, I don't think that you'd need to "add" the includes. Some includes are already downloaded with SCAR, if not...
{.include <here is where you put the includes>}

//for example

{.include Srl.scar}

Download SCAR includes

1) open SCAR
2) go to file tab on the top
3) click on Download Includes


Download SRL HERE (http://www.villu-reborn.com/showthread.php?t=3410)

For help on how to install SRL, and other stuff, please go HERE (http://www.villu-reborn.com/showthread.php?t=483)

Pentti
12-30-2006, 09:59 AM
If you want to use stuff from includes you add to your script {.include SRL/SRL.scar}This is code if you want to add SRL include in your script.

brand3n
12-30-2006, 11:16 PM
if you want to listen to me go here
http://www.villu-reborn.com/srl_manual/index.php

solarwind
12-31-2006, 08:21 PM
To add any include, do:

{.include your_include_goes_here.scar}

The path is relative to the includes folder in your SCAR program folder. Therefore, the include must be in the includes folder.