Results 1 to 4 of 4

Thread: declare players

  1. #1
    Join Date
    Jan 2008
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default declare players

    hi in declareplayers when u add somthing new i have been putting player[0].string[0] or somthing like that, how can i give the string[0] a name e.g. TreeKind. please help me! Thanks.

  2. #2
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    you can't. i'd advise you to do something like this:

    SCAR Code:
    Players[0].Strings[0] := 'willow' //tree kind here

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  3. #3
    Join Date
    Jan 2008
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes but im trying to add it to srl player form and and the bit were it says strings[0] how is the user going to know what to fill in? because strings[0] dosnt mean much as to what to tipe in

  4. #4
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    SCAR Code:
    srl_playerform([],[],[],[]);

    srl_playerform(['tree type; eg:"willow"'],[],[],[]);

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Declare Players
    By 13om13e12 in forum OSR Help
    Replies: 2
    Last Post: 06-05-2008, 01:41 PM
  2. Need Help on declare players.
    By Raskolnikov in forum OSR Help
    Replies: 2
    Last Post: 11-16-2007, 11:02 PM
  3. Declare players?
    By ironlarreh in forum OSR Help
    Replies: 3
    Last Post: 11-12-2007, 09:55 PM
  4. I need help with the declare players bit.
    By BobboHobbo in forum OSR Help
    Replies: 2
    Last Post: 06-05-2007, 11:45 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
  •