void SetPlayerLocks(bool aState) { // tell all of the players to set their locks for (int i = 0; i < numberOfRacers; i++) { thePlayerScript = ( CarController_MVD )playerList [i]; thePlayerScript.SetLock(aState); } }