Results 1 to 3 of 3

Thread: player form help needed

  1. #1
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default player form help needed

    Im using a form in my script and i want to include the player setup into the form....sooo i used startplayers(True, 'integer1');

    im using integer1 as a a value for each tree type 1=trees 2=oaks 3=willows ect.

    the problem i am encountering occurs while the script is running. it is only using the first player's integer1 for each of the other players. so it will work fine for the first player, but when it logs in the next player the script cant find the correct tree...

    when i stop the script and try to restart the form all of the values for integer1 are the same as the first active player used.

    any1 know what could be causing this??

    any help would be appreciated
    METAL HEAD FOR LIFE!!!

  2. #2
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Players[CurrentPlayer].integer1 := StrToInt(Edit1.text);

    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  3. #3
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    sry not quite wat i meant but thanks anyway

    its ok i figured out that i didnt have it reset the var in the loop i only had it set it at the start up lol sooo yea its fixed
    METAL HEAD FOR LIFE!!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. srl player form
    By poolikemax in forum OSR Help
    Replies: 2
    Last Post: 01-05-2009, 09:54 PM
  2. Player Form Help
    By steth1010 in forum OSR Help
    Replies: 4
    Last Post: 04-20-2007, 11:42 PM
  3. Help with Player Form
    By antknee3 in forum OSR Help
    Replies: 2
    Last Post: 04-03-2007, 05:18 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
  •