Results 1 to 2 of 2

Thread: Need Help With GetExp !!!!!!!!!!!!!!!!!!!!!!!

  1. #1
    Join Date
    Oct 2007
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need Help With GetExp !!!!!!!!!!!!!!!!!!!!!!!

    Hello i need some help with get exp.

    I want it to get the exp then save it as Before (Before Exp, In Var) and then after a while i want it to get exp then save it as (Current Exp, In Var).

    So would it be something like this?
    SCAR Code:
    Current: Integer;
    Before: Integer;

    Procedure LaterWcExp;
    Begin
    Before:=(GetExp = 'Woodcutting');
    End;

    Procedure RightNowWcExp;
    Begin
    Current:=(GetExp = 'Woodcutting');
    End;

    I tryed that but it didnt work, it said unknown identifier GetExp.


    Can someone please help me with this? i really need it for my woodcutter.
    Woot woot.

  2. #2
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    StartXP:=GetXP('woodcutting');
    EndXP:=GetXP('woodcutting');
    XPGained:=EndXP-StarXP;

    Hows that?

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •