Need Help [ Simba ]

Discussion in 'Scar/Simba Help' started by OmqiHybrid, May 31, 2012.

Need Help [ Simba ]
  1. Unread #1 - May 31, 2012 at 12:21 AM
  2. OmqiHybrid
    Joined:
    May 27, 2012
    Posts:
    61
    Referrals:
    0
    Sythe Gold:
    0

    OmqiHybrid Member
    Banned

    Need Help [ Simba ]

    Getting this error.
    HowManyPlayers := 0;
    NumberOfPlayers(HowManyPlayers); 0;
    CurrentPlayer := i dont dd0s;

    with Players[1] do
    begin
    Name := 'omgihaxxxx';
    Pass := 'notforyou';
    Pin := ''; // right now banking for hood not supported, might be in future
    // so you don't need to fill it just yet
    BoxRewards := ['XP', 'Lamp', 'Book', 'mote', 'ostume', 'ssence'];
    LampSkill := SKILL_RUNECRAFTING;
    Member := false;
    Active := True;

    [Error] (42:3): Unknown identifier 'HowManyPlayers' at line 41
    Compiling failed.

    What should i put for howmanyplayers?
    __________________
     
  3. Unread #2 - May 31, 2012 at 9:00 PM
  4. XWX
    Joined:
    Apr 25, 2005
    Posts:
    723
    Referrals:
    0
    Sythe Gold:
    18

    XWX Apprentice

    Need Help [ Simba ]

    Code:
    HowManyPlayers := 0;  //So you have 0 players?  This should be 1...
    NumberOfPlayers(HowManyPlayers); 0;   //Why is there a "0;" here?
    CurrentPlayer := i dont dd0s;   //For the first player (or integer) in any array, start with 0, not "i dont dd0s"...
    
    with Players[1] do  //Again, your first player is the first in an array, and arrays start at [0], not [1]
    begin
    Name := 'omgihaxxxx';
    Pass := 'notforyou';
    Pin := ''; // right now banking for hood not supported, might be in future
    // so you don't need to fill it just yet
    BoxRewards := ['XP', 'Lamp', 'Book', 'mote', 'ostume', 'ssence'];
    LampSkill := SKILL_RUNECRAFTING;
    Member := false;
    Active := True; 
    
    Hopefully that explains it. Anyways, try this instead:
    Code:
    Procedure DeclarePlayers;
      begin
        HowManyPlayers := 1;
        NumberOfPlayers(HowManyPlayers);
        CurrentPlayer := 0;
        with Players[0] do
        begin
          Name         := '';
          Pass         := '';
          Pin          := '';
          BoxRewards   := ['XP', 'Lamp', 'Book', 'mote', 'ostume', 'ssence'];
          LampSkill    := SKILL_RUNECRAFTING;
          Member       := False;
          Active       := True;
        end;
      end;
    
     
< Best Simba script for Money Making? | need simba help >

Users viewing this thread
1 guest


 
 
Adblock breaks this site