I keep getting this error when I try to compile my script.
Failed when compiling
Line 13: [Error] (13:1): Unknown identifier 'HowManyPlayers' in script C:\Program Files\SCAR 3.13\Scripts\PowerChopper.scar
Here is the whole procedure:
Code:procedure DeclarePlayers; begin HowManyPlayers := 3; //Number of PLAYERS. active or not. NumberOfPlayers(HowManyPlayers); CurrentPlayer := 0; //Player to start on Players[0].Name := ''; //Username of selected account Players[0].Pass := ''; //Password of account Players[0].Nick := ''; //3-4 letters from the middle of account name Players[0].Active := True; //True if account will be used / False if account will not be used 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; //VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV// //// DON'T TOUCH //// //VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV// NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars); end;


Reply With Quote






