Nindustries
2009-02-22 17:35:44
Hi.
Is there any specific login function for SMART actually ?
Because I just use "LoginPlayer" and it gives an out of Range error:
USING THIS:
Thnx.:bart:
Is there any specific login function for SMART actually ?
Because I just use "LoginPlayer" and it gives an out of Range error:
USING THIS:
Procedure DeclarePlayers;
Begin
HowManyPlayers:= 2 ;
NumberOfPlayers( HowManyPlayers );
CurrentPlayer := 0 ;
Players[0].Name := '444457' ;
Players[0].Pass := '042231' ;
Players[0].Nick := '4444' ; //A part of your username : "Adam" -> "Ada"
Players[0].Active := True ;
etc..
ERROR:[Runtime Error] : Out Of Range in line 323 in script *:\SCAR\includes\SRL/SRL/Core/Login.scar
Thats this line:
if (not(Players[CurrentPlayer].Active)) then
Thnx.:bart: