DeclarePlayers
~~~~~~~~~~~~~~
.. code-block:: pascal
procedure DeclarePlayers();
When called, sets the global variable 'MSI_Players.' This is the procedure
the user needs to setup if they elect not to use the player form.
*)
procedure DeclarePlayers();
var
i: Integer;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
SetLength(MSI_Players, HowManyPlayers);
for i := 0 to High(MSI_Players) do
SetLength(MSI_Players[i].Scripts, 100);
CurrentPlayer := 0;
CurrentScript := 0;
with MSI_Players[0] do
begin
Name := '**********'; // Username
Pass := '************'; // Password
Pin := '****'; // Bank pin; leave as '' if player doesn't have one
Active := True; // Use this player?
Member := False; // Is this player a member?
BreakLoads := 0; // Amount of loads before breaking/switching players; leave 0 to not take breaks
BreakTime := 0; // Amount of time (in minutes) before breaking/witching; leave 0 to not take breaks
TotalLoads := 0; // Total loads for the player to do; leave 0 if using TotalTime or to go forever
TotalTime := 0; // How long for the player to run? (in minutes); leave 0 if using TotalLoads or go forever
WorldInfo := [True, 56, False]
with Scripts[0] do
begin
end;
end;
that should be where you put it. is you are using the msi form though, then this wont work, and i dont think theyve added it to the form yet.
and when you post code, use the ["SIMBA"]["/SIMBA"] tags without those quotes obviously