lollage22
07-07-2010, 08:43 PM
program AFK_warner;
{.include SRL/SRL.scar}
{.include SRL/SRL/Misc/SMART.scar}
function NeedToEat:Boolean;
function GettingXP:Boolean;
begin
repeat
wait(1000);
if (NeedToEat or (not GettingXP) ) then
PlaySound('C:\WINDOWS\Media\tada.wav');
until (GetTimeRunning>(120*60*1000));
end.
[Error] C:\Simba\Includes\SRL/SRL/Misc/SMART.scar(9:10): Duplicate identifier 'ISKEYDOWN' at line 8
Compiling failed.
I'm trying simba for the time being. Love it! However, why doesn't this compile? Something with SMART, SetUpSRL, DeclarePlayers?
Thanks in advance! Cheers.
{.include SRL/SRL.scar}
{.include SRL/SRL/Misc/SMART.scar}
function NeedToEat:Boolean;
function GettingXP:Boolean;
begin
repeat
wait(1000);
if (NeedToEat or (not GettingXP) ) then
PlaySound('C:\WINDOWS\Media\tada.wav');
until (GetTimeRunning>(120*60*1000));
end.
[Error] C:\Simba\Includes\SRL/SRL/Misc/SMART.scar(9:10): Duplicate identifier 'ISKEYDOWN' at line 8
Compiling failed.
I'm trying simba for the time being. Love it! However, why doesn't this compile? Something with SMART, SetUpSRL, DeclarePlayers?
Thanks in advance! Cheers.