Results 1 to 7 of 7

Thread: question about playerforms

  1. #1
    Join Date
    Nov 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default question about playerforms

    sorry i was reading alot, but i need some clarification.

    when using the playerform, for example

    SCAR Code:
    SRLPlayerForm(True, ['UseSleep', 'WeildAxe', 'MineMith'], ['Loads'], [], []);

    usesleep is a boolean (duh) but im wondering, does it get set as the variable of usesleep, or is it player[currentplayer].booleans[0]? Thanks in advance, and + Rep to anyone who helps me

  2. #2
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It stores the information in Players[CurrentPlayer].Strings[x] (For Strings), Booleans[x] (for booleans) and Integers[x] (For integers).


  3. #3
    Join Date
    Nov 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thank you so much!

    umm could i do somthing like

    player[currentplayer]booleans[0] := UseSleep;

    then use usesleep in the rest of my script?

  4. #4
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Then you should do this:
    UseSleep := Players[CurrentPlayer].Booleans[0];

    ...

    If UseSleep Then
    Etc


  5. #5
    Join Date
    Nov 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks! and one last thing, for my walking, the flag dissapears off the screen, but its not done walking, however scar thinks that it has reached teh end of the flag. then the script ends because it thinks its lost, is there anyway i can overcome that, or do i have to just use a wait time?

  6. #6
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You should add a wait time or if you are using reflection then you can easily check that.


  7. #7
    Join Date
    Nov 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    reflection = lame haha, ok i was just wondeing if there was somthing other than a wait time that could be used.

    Thanks for all your help

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. One Question?
    By gamer 5 in forum C#/Visual Basic Help and Tutorials
    Replies: 3
    Last Post: 01-06-2008, 10:45 PM
  2. Question about VM
    By kingarabian in forum News and General
    Replies: 2
    Last Post: 08-28-2007, 05:37 AM
  3. Question
    By Euro-Stylz in forum News and General
    Replies: 6
    Last Post: 03-06-2007, 06:12 AM

Posting Permissions

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