da_professa
12-08-2006, 09:15 AM
I am having trouble with my power wood cutter. The problem is that it only detects player one. For example i tell it to switch from player 1 to player 2 it wont do it..
Here is the basics of what my player switching is using.. This script is supposed to log in with one player than switch etc... BUt all it does is logs in with first player and for second player it just stays there on the login screen ..
Plz help me out.. I am like soooooooo madddddddd Can't get it to work........
program New;
{.include SRL/srl.scar}
Procedure DeclarePlayers;
begin
NumberOfPlayers(4);
Players[0].Name :='---------';
Players[0].Pass :='----------';
Players[0].Nick :='---';
Players[0].Active:=True;
Players[1].Name :='';
Players[1].Pass :='----';
Players[1].Nick :='---';
Players[1].Active:=True;
Players[2].Name :='------------';
Players[2].Pass :='-------------';
Players[2].Nick :='---';
Players[2].Active:=True;
Players[3].Name := '------';
Players[3].Pass := '-------------';
Players[3].Nick := '---';
Players[3].Active := True;
end;
begin
setupsrl;
declareplayers;
loginplayer;
wait(100);
nextplayer(false);
repeat;
wait(100);
NextPlayer(false);
until(false);
end.
Here is the basics of what my player switching is using.. This script is supposed to log in with one player than switch etc... BUt all it does is logs in with first player and for second player it just stays there on the login screen ..
Plz help me out.. I am like soooooooo madddddddd Can't get it to work........
program New;
{.include SRL/srl.scar}
Procedure DeclarePlayers;
begin
NumberOfPlayers(4);
Players[0].Name :='---------';
Players[0].Pass :='----------';
Players[0].Nick :='---';
Players[0].Active:=True;
Players[1].Name :='';
Players[1].Pass :='----';
Players[1].Nick :='---';
Players[1].Active:=True;
Players[2].Name :='------------';
Players[2].Pass :='-------------';
Players[2].Nick :='---';
Players[2].Active:=True;
Players[3].Name := '------';
Players[3].Pass := '-------------';
Players[3].Nick := '---';
Players[3].Active := True;
end;
begin
setupsrl;
declareplayers;
loginplayer;
wait(100);
nextplayer(false);
repeat;
wait(100);
NextPlayer(false);
until(false);
end.