Magiic
2008-09-26 11:21:37
ok its my first time using reflection but even the simplest script will not compile im trying to run
it's probably something stupid but i'm a stupid person lol:cartman:
program PathWalking;
{.Include SRL\SRL\Misc\Smart.Scar}
{.Include SRL\SRL.Scar}
{.Include SRL\SRL\Reflection\Reflection.Scar}
{.include D-Include\DInclude.scar}
procedure SetupSmart;
begin
SmartSetup('world109', True, True, false);
Wait(1000);
SetTargetDC(SmartGetDC);
end;
begin
SetupSRL;
LoadHooks;
SetupSmart;
end.but i get the errorFailed when compiling
Line 24: [Error] (17635:1): Duplicate identifier 'NPCDef' in script C:\Program Files\SCAR 3.15\includes\SRL\SRL\Reflection\Hooks.Scar
it's probably something stupid but i'm a stupid person lol:cartman: