Results 1 to 2 of 2

Thread: InPin() - Out of Range?

  1. #1
    Join Date
    Oct 2012
    Location
    Porto, Portugal
    Posts
    218
    Mentioned
    0 Post(s)
    Quoted
    42 Post(s)

    Default InPin() - Out of Range?

    I have a script almost complete but it gets stuck when inserting the pin... It says InPin Out of Range

    Simba Code:
    InPin(Players[CurrentPlayer].Pin);

    and in the declare players I have

    Simba Code:
    procedure DeclarePlayers;
    begin
    HowManyPlayers := 1;
    NumberOfPlayers(HowManyPlayers);
    CurrentPlayer := 0;

    Players[0].Name := ''
    Players[0].Pass := ''
    Players[0].Nick := ''
    Players[0].Pin  := '1234'
    Players[0].Active := True
    end;


    Why is it giving an error?

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Did you call DeclarePlayers in your script?
    Show the whole script?
    Also add semicolons to every of your statements that are ending.

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
  •